mean and the standard deviation

what function returns the mean and the standard deviation together

a function of your own composition...

myfunction <- function(x){
  c(mean=mean(x),
       sd=sd(x))
}
myfunction(runif(10))

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.