[R] mean and kurtosis

John Kane jrkrideau at inbox.com
Fri Nov 9 21:11:01 CET 2012


http://www.statmethods.net/stats/descriptives.html

the psych package seems to do what you wan

set.seed(235)
mydata  <-  data.frame(aa = rnorm(20), bb =  rnorm(20) , cc = rnorm(20))
library(psych)
describe(mydata)



John Kane
Kingston ON Canada


> -----Original Message-----
> From: powella629 at gmail.com
> Sent: Fri, 9 Nov 2012 14:44:44 -0500
> To: r-help at r-project.org
> Subject: [R] mean and kurtosis
> 
> Need help!
> I know how to get the mean and kurtosis for a single variable but I am
> reading in an excel file that has several columns representing variables.
> I
> need a way to find descriptive statistics across ALL the variables?
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

____________________________________________________________
GET FREE SMILEYS FOR YOUR IM & EMAIL - Learn more at http://www.inbox.com/smileys
Works with AIM®, MSN® Messenger, Yahoo!® Messenger, ICQ®, Google Talk™ and most webmails




More information about the R-help mailing list