Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


X is the vector c(5,9.2,3,8.51,na), what is the output of mean(x)?



X is the vector c(5,9.2,3,8.51,na), what is the output of mean(x)?..

Answer / Lakhpat Ram

The NA value in the vector x will cause the mean() function to return NA as well, because it cannot calculate the average with missing values.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More R Programming Interview Questions

How do you check if “m” is a matrix data object in R?

1 Answers  


Why is R important for data science?

1 Answers  


Enlist some of the functions that r provides?

1 Answers  


How many methods are there to save graphs?

1 Answers  


how would you build a scatter-plot using plotly?

1 Answers  


What is s3 in r?

1 Answers  


How do I sort in descending order in r?

1 Answers  


What are Ensemble Models in R?

1 Answers  


Write the syntax to set the path for a current working directory in r environment?

1 Answers  


What is tcp/ip variable smc-r storage allocations?

1 Answers  


Write the full form MANOVA and why is it used?

1 Answers  


What is the difference between a bar-chart and a histogram?

1 Answers  


Categories