File: Descriptives.Rd

package info (click to toggle)
r-cran-memisc 0.99.31.8.2%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 2,136 kB
  • sloc: ansic: 5,117; makefile: 2
file content (28 lines) | stat: -rw-r--r-- 839 bytes parent folder | download
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)
}