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 |
How many types of object are present In R?
What is meant by character function in R?
How many data structures R has?
Explain how to write files?
Give examples of “rbind()” and “cbind()” functions in r
Give the syntax for creating scatterplot matrices?
What are the advantages of R?
Vector v is c(1,2,3,4) and list x is list(5:8), what is the output of v*x[[1]]?
What is the distribution in R?
What is r vector?
What is the use of sample and subset functions in R programming language?
How to construct new s4 class?