Dear R helpers
If for a given data, I need to calculate Mean, Standard Deviation, Mode, Median,
Skewness, Kurtosis, is there any package in R, which will calculate these
moments?
Individually I can calculate these, but if there is any function which will
calculate these at a stretch, please let me know.
Maithili
The INTERNET now has a personality. YOURS! See your Yahoo! Homepage.
[[alternative HTML version deleted]]
You should learn to use search facilities in R, for example:
RSiteSearch("central moments")
Ravi.
____________________________________________________________________
Ravi Varadhan, Ph.D.
Assistant Professor,
Division of Geriatric Medicine and Gerontology
School of Medicine
Johns Hopkins University
Ph. (410) 502-2619
email: rvaradhan at jhmi.edu
----- Original Message -----
From: Maithili Shiva <maithili_shiva at yahoo.com>
Date: Tuesday, December 1, 2009 2:09 am
Subject: [R] Calculation of Central Moments
To: r-help at r-project.org
> Dear R helpers
>
> If for a given data, I need to calculate Mean, Standard Deviation,
> Mode, Median, Skewness, Kurtosis, is there any package in R, which
> will calculate these moments?
>
> Individually I can calculate these, but if there is any function which
> will calculate these at a stretch, please let me know.
>
> Maithili
>
>
>
[[elided Yahoo spam]]> Homepage.
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
>
> PLEASE do read the posting guide
> and provide commented, minimal, self-contained, reproducible code.
Hi Maithili,
Here is a suugestion:
R> install.packages('fBasics')
R> require(fBasics)
R> set.seed(123)
R> x <- rnorm(100)
R> basicStats(x)
HTH,
Jorge
On Tue, Dec 1, 2009 at 2:08 AM, Maithili Shiva <> wrote:
> Dear R helpers
>
> If for a given data, I need to calculate Mean, Standard Deviation, Mode,
> Median, Skewness, Kurtosis, is there any package in R, which will calculate
> these moments?
>
> Individually I can calculate these, but if there is any function which will
> calculate these at a stretch, please let me know.
>
> Maithili
>
>
>
> The INTERNET now has a personality. YOURS! See your Yahoo! Homepage.
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@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.
>
[[alternative HTML version deleted]]