Skip to content
Back to formatted view

Raw Message

Message-ID: <BA5A2D3E-B562-41E7-9174-EAD36A231C67@comcast.net>
Date: 2009-02-09T23:41:56Z
From: David Winsemius
Subject: summary statistics
In-Reply-To: <cf29fdc90902091504g24ea15efl246b2cc8e71b94cd@mail.gmail.com>

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.