numSummaryIPSUR: Mean, Standard Deviation, Skewness, Kurtosis, and Quantiles...

Description Usage Arguments Value Author(s) See Also

Description

numSummary creates neatly formatted tables of means, standard deviations, skewness, kurtosis, and quantiles of numeric variables. Note that the e1071 package must be installed to compute skewness or kurtosis.

Usage

1
2
3
4
5
numSummaryIPSUR(data, statistics=c("mean", "sd", "skewness", "kurtosis","quantiles"), 
    quantiles=c(0, .25, .5, .75, 1), groups)
    
## S3 method for class 'numSummaryIPSUR'
print(x, ...)

Arguments

data

a numeric vector, matrix, or data frame.

statistics

any of "mean", "sd", "skewness", "kurtosis",or "quantiles", defaulting to the first four.

quantiles

quantiles to report; default is c(0, 0.25, 0.5, 0.75, 1).

groups

optional variable, typically a factor, to be used to partition the data.

x

object of class "numSummaryIPSUR" to print.

...

arguments to pass down from the print method.

Value

numSummaryIPSUR returns an object of class "numSummaryIPSUR" containing the table of statistics to be reported along with information on missing data, if there are any.

Author(s)

John Fox jfox@mcmaster.ca, with skewness and kurtosis added by G. Jay Kerns gkerns@ysu.edu

See Also

mean, sd, skewness, kurtosis, quantile.


RcmdrPlugin.IPSUR documentation built on May 2, 2019, 2:43 a.m.