aggregate.demog_change_component_df | R Documentation |
demog_change_component_df
A method for the generic aggregate
function. This merely calls the
aggregate.data.frame
method and issues a
warning that the class will be dropped (if called
interactively). See link{collapse_demog_dimension}
for an
alternative if aggregation across an entire demographic dimension
(e.g., “age”, “time”, etc.) is desired.
## S3 method for class 'demog_change_component_df' aggregate(x, by, FUN, ..., simplify = TRUE, drop = TRUE)
x |
an R object. |
by |
a list of grouping elements, each as long as the variables
in the data frame |
FUN |
a function to compute the summary statistics which can be applied to all data subsets. |
... |
further arguments passed to or used by methods. |
simplify |
a logical indicating whether results should be simplified to a vector or matrix if possible. |
drop |
a logical indicating whether to drop unused combinations
of grouping values. The non-default case |
Mark Wheldon
aggregate
, link{collapse_demog_dimension}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.