| 1 |
\name{Descriptives} |
| 2 |
\alias{Descriptives} |
| 3 |
\alias{Descriptives,ANY-method} |
| 4 |
\alias{Descriptives,atomic-method} |
| 5 |
\alias{Descriptives,item.vector-method} |
| 6 |
\title{Vectors of Univariate Sample Statistics} |
| 7 |
\description{ |
| 8 |
\code{Descriptives(x)} gives a vector of sample statistics |
| 9 |
for use in \code{\link{codebook}}. |
| 10 |
} |
| 11 |
\usage{ |
| 12 |
Descriptives(x,...) |
| 13 |
\S4method{Descriptives}{atomic}(x, weights = NULL, ...) |
| 14 |
\S4method{Descriptives}{item.vector}(x, weights = NULL, ...) |
| 15 |
} |
| 16 |
\arguments{ |
| 17 |
\item{x}{an atomic vector or \code{"item.vector"} object. } |
| 18 |
\item{weights}{an optional vector of weights.} |
| 19 |
\item{\dots}{further arguments, to be passed to future methods.} |
| 20 |
} |
| 21 |
\value{ |
| 22 |
A numeric vector of sample statistics, containing the range, the |
| 23 |
mean, the standard deviation, the skewness and the (excess) kurtosis. |
| 24 |
} |
| 25 |
\examples{ |
| 26 |
x <- rnorm(100) |
| 27 |
Descriptives(x) |
| 28 |
} |