1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
\name{Descriptives}
\alias{Descriptives}
\alias{Descriptives,ANY-method}
\alias{Descriptives,atomic-method}
\alias{Descriptives,item.vector-method}
\title{Vectors of Univariate Sample Statistics}
\description{
\code{Descriptives(x)} gives a vector of sample statistics
for use in \code{\link{codebook}}.
}
\usage{
Descriptives(x,...)
\S4method{Descriptives}{atomic}(x, weights = NULL, ...)
\S4method{Descriptives}{item.vector}(x, weights = NULL, ...)
}
\arguments{
\item{x}{an atomic vector or \code{"item.vector"} object. }
\item{weights}{an optional vector of weights.}
\item{\dots}{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)
}
|