Descriptives: Vectors of Univariate Sample Statistics
Description
Descriptives(x)
gives a vector of sample statistics
for use in codebook
.
Usage
Descriptives(x,...)
# S4 method for atomic
Descriptives(x, weights = NULL, ...)
# S4 method for item.vector
Descriptives(x, weights = NULL, ...)
Value
A numeric vector of sample statistics, containing the range, the
mean, the standard deviation, the skewness and the (excess) kurtosis.
Arguments
- x
an atomic vector or "item.vector"
object.
- weights
an optional vector of weights.
- ...
further arguments, to be passed to future methods.
Examples
Run this codex <- rnorm(100)
Descriptives(x)
Run the code above in your browser using DataLab