| Line 1... |
Line 1... |
| 1 |
% File src/library/stats/man/aggregate.Rd
|
1 |
% File src/library/stats/man/aggregate.Rd
|
| 2 |
% Part of the R package, https://www.R-project.org
|
2 |
% Part of the R package, https://www.R-project.org
|
| 3 |
% Copyright 1995-2017 R Core Team
|
3 |
% Copyright 1995-2018 R Core Team
|
| 4 |
% Distributed under GPL 2 or later
|
4 |
% Distributed under GPL 2 or later
|
| 5 |
|
5 |
|
| 6 |
\name{aggregate}
|
6 |
\name{aggregate}
|
| 7 |
\alias{aggregate}
|
7 |
\alias{aggregate}
|
| 8 |
\alias{aggregate.default}
|
8 |
\alias{aggregate.default}
|
| Line 36... |
Line 36... |
| 36 |
applied to all data subsets.}
|
36 |
applied to all data subsets.}
|
| 37 |
\item{simplify}{a logical indicating whether results should be
|
37 |
\item{simplify}{a logical indicating whether results should be
|
| 38 |
simplified to a vector or matrix if possible.}
|
38 |
simplified to a vector or matrix if possible.}
|
| 39 |
\item{drop}{a logical indicating whether to drop unused combinations
|
39 |
\item{drop}{a logical indicating whether to drop unused combinations
|
| 40 |
of grouping values. The non-default case \code{drop=FALSE} has been
|
40 |
of grouping values. The non-default case \code{drop=FALSE} has been
|
| 41 |
available since \R 3.3.0, and may change in some cases where unused
|
41 |
amended for \R 3.5.0 to drop unused combinations.}
|
| 42 |
combinations are still dropped.}
|
- |
|
| 43 |
\item{formula}{a \link{formula}, such as \code{y ~ x} or
|
42 |
\item{formula}{a \link{formula}, such as \code{y ~ x} or
|
| 44 |
\code{cbind(y1, y2) ~ x1 + x2}, where the \code{y} variables are
|
43 |
\code{cbind(y1, y2) ~ x1 + x2}, where the \code{y} variables are
|
| 45 |
numeric data to be split into groups according to the grouping
|
44 |
numeric data to be split into groups according to the grouping
|
| 46 |
\code{x} variables (usually factors).}
|
45 |
\code{x} variables (usually factors).}
|
| 47 |
\item{data}{a data frame (or list) from which the variables in formula
|
46 |
\item{data}{a data frame (or list) from which the variables in formula
|