View source: R/export-DataPreprocessing.R
aggregate_grouped_df | R Documentation |
Aggregates a grouped data frame into summarizing statistics within groups by
applying the aggregate_df
function to each group.
Aggregation is performed according to sufficient statistics for the specified
distribution of the columns to be aggregated.
aggregate_grouped_df(
data,
by,
gaussian = NULL,
gaussian.precision.scales = NULL,
binomial = NULL
)
data |
Data frame to be grouped and aggregated. |
by |
Columns in |
gaussian |
Gaussian columns in |
gaussian.precision.scales |
Scales for the precision of Gaussian observations. |
binomial |
Binomial columns in |
Aggregated data frame (tibble), with one row per group, containing
grouping variables, count n
per group, and aggregated list-columns for
specified variables as returned by aggregate_df
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.