X is the vector c(5,9.2,3,8.51,na), what is the output of mean(x)?
Answer Posted / 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 View All Answers