Is there any command to find the standard error of the mean in R?
The standard error is just the standard deviation divided by the square root of the sample size. So you can easily make your own function:
> std <- function(x) sd(x)/sqrt(length(x)) > std(c(1,2,3,4)) [1] 0.6454972
2.1m questions
2.1m answers
60 comments
57.0k users