[R] summary statistics
David Winsemius
dwinsemius at comcast.net
Tue Feb 10 00:41:56 CET 2009
describe() in Hmisc provides much of the rest of what you asked for:
> describe(pref900$TCHDL)
pref900$TCHDL
n missing unique Mean .05 .10 .25 .50 .
75 .90 .95
906190 4469 16051 4.123 2.320 2.557 3.061 3.841
4.886 6.054 6.867
lowest : 0.9342 1.0200 1.0522 1.1008 1.1061, highest: 19.8696
20.1667 20.7619 21.6364 21.7200
On Feb 9, 2009, at 6:04 PM, phoebe kong wrote:
> Hi all,
>
> I'm wondering if there is a function that can return summary
> statistics:
> N=total number of observation, # missing, mean, median, range,
> standard
> deviation.
>
> As I know, summary() returns some of info I've mentioned above.
>
> Thanks,
> SY
>
> [[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.
More information about the R-help
mailing list