1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
\name{gdata-defunct}
\alias{aggregate.table}
\title{Defunct Functions in Package 'gdata'}
\description{
The functions or variables listed here are no longer part of 'gdata'.
}
\usage{
aggregate.table(x, by1, by2, FUN=mean, \dots)
}
\arguments{
\item{x}{data to be summarized.}
\item{by1}{first grouping factor.}
\item{by2}{second grouping factor.}
\item{FUN}{a scalar function to compute the summary statistics which can
be applied to all data subsets. Defaults to \code{mean}.}
\item{\dots}{optional arguments for \code{FUN}.}
}
\details{
\code{aggregate.table(x, by1, by2, FUN=mean, \dots)} should be replaced
by \code{tapply(X=x, INDEX=list(by1, by2), FUN=FUN, \dots)}.
}
|