Descriptives memisc 0.99.22

Vectors of Univariate Sample Statistics

Description

Descriptives(x) gives a vector of sample statistics for use in codebook.

Usage

Descriptives(x,...)
## S4 method for signature 'atomic'
Descriptives(x,...)
## S4 method for signature 'item.vector'
Descriptives(x,...)

Arguments

x

an atomic vector or "item.vector" object.

...

further arguments, to be passed to future methods.

Value

A numeric vector of sample statistics, containing the range, the mean, the standard deviation, the skewness and the (excess) kurtosis.

Examples

x <- rnorm(100)
Descriptives(x)
       Mean    Variance    Skewness    Kurtosis         Min         Max
-0.03974043  1.12480208  0.05744031 -0.36548927 -2.34579356  2.39906912