OK, never-mind. I found length(x). It's been a long day.
Gabor Csardi wrote:
>
> Why don't you write it for yourself, it takes less time than writing
> an email:
>
> mysummary <- function(x) {
> require(plotrix)
> require(e1071)
> c(Mean=mean(x), Std.Error=std.error(x), Std.Deviation=sd
The two describe functions have it. Maybe the one in psych too?
Also see valid.n in the prettyR package and of course there is length,
nrows and dim.
On Wed, Jul 9, 2008 at 8:53 PM, nmarti <[EMAIL PROTECTED]> wrote:
>
> Thanks Gabor.
> I was able to create a function that works really well. One
Thanks Gabor.
I was able to create a function that works really well. One more quick
question if you don't mind.
I want to report the number of observations also (i.e. n = 5420). What
function would do this? I really can't find anything that would just simply
count the number of x's.
Thanks aga
Thanks for your replies.
basicStats(x) in "fBasics" is exactly what I was looking for.
>
>
nmarti wrote:
>
> I'm looking for a function that lists a few summary stats for a column (or
> row) of data. I'm aware of summary(x), but that does not give me what I'm
> looking for.
> I'm actually looki
At 11:26 AM -0400 7/9/08, Gabor Grothendieck wrote:
There are describe functions in prettyR and Hmisc packages and
doSummary in doBy.
As well as describe and describe.by in the psych package.
On Wed, Jul 9, 2008 at 11:15 AM, nmarti <[EMAIL PROTECTED]> wrote:
I'm looking for a function t
I think the function describe() in the package "psych" will give you
want you want. There are other similar functions in the library "Simple"
as well.
Harold
nmarti wrote:
>
> I'm looking for a function that lists a few summary stats for a column (or
> row) of data. I'm aware of summary(x
Why don't you write it for yourself, it takes less time than writing
an email:
mysummary <- function(x) {
require(plotrix)
require(e1071)
c(Mean=mean(x), Std.Error=std.error(x), Std.Deviation=sd(x),
Kurtosis=kurtosis(x))
}
Gabor
On Wed, Jul 09, 2008 at 08:15:00AM -0700, nmarti wrote:
>
Dear nmarti,
See ?basicStats in fBasics.
HTH,
Jorge
On Wed, Jul 9, 2008 at 11:15 AM, nmarti <[EMAIL PROTECTED]> wrote:
>
> I'm looking for a function that lists a few summary stats for a column (or
> row) of data. I'm aware of summary(x), but that does not give me what I'm
> looking for.
>
There are describe functions in prettyR and Hmisc packages and
doSummary in doBy.
On Wed, Jul 9, 2008 at 11:15 AM, nmarti <[EMAIL PROTECTED]> wrote:
>
> I'm looking for a function that lists a few summary stats for a column (or
> row) of data. I'm aware of summary(x), but that does not give me wh
I'm looking for a function that lists a few summary stats for a column (or
row) of data. I'm aware of summary(x), but that does not give me what I'm
looking for.
I'm actually looking for something that is very similar to the descriptive
statistics tool in excel; i.e. Mean, Std. Error, Std. Deviat
10 matches
Mail list logo