Extracting standard Deviation after aov() models

I finished the aov and post-hoc test. And I need the data of means and Standard deviation for reporting. While I can locate the means by model.tables(nes2000.aov,type='means"). I don't know how to calculate standard deviation in R.

I tried the below command I found online But it pops on error "Error in aggregate.data.frame(lhs, mf[-1L], FUN = FUN, ...) . I don't know what went wrong.

f<-function(x) c(mean(x),sd=sd(x))

argument "FUN" is missing, with no default

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.