aggregate_stats | R Documentation |
aggregate_stats
is a (not exported) generic function to aggregate
stats_dm
objects across ID
s. Since the column names may vary by the
statistic type, the behavior of aggregate depends on the subclass of
stats_dm
(cafs
, quantiles
, delta_funs
, or fit_stats
).
aggregate_stats(stat_df)
## S3 method for class 'cafs'
aggregate_stats(stat_df)
## S3 method for class 'quantiles'
aggregate_stats(stat_df)
## S3 method for class 'delta_funs'
aggregate_stats(stat_df)
## S3 method for class 'fit_stats'
aggregate_stats(stat_df)
stat_df |
A |
For each supported subclass, aggregate_stats
calls
internal_aggregate()
with the relevant arguments
If no "ID"
column exists in stat_df
returns stat_df
as-is.
If an "ID"
column exists, then statistics are aggregated across it.
new_stats_dm, calc_stats,
internal_aggregate()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.