View source: R/aggregate_variance.R
Aggregate a statistic down to its variance over replicates within values of one or two parameters.
1 2 3 4 5 6 7 8 | aggregate_variance(
d,
xname = "hsymmetry",
yname = "ecosel",
zname = "summary",
colname = NULL,
keep = NULL
)
|
d |
Data frame with coordinates per timepoint per simulation |
xname |
Column name of the first grouping parameter |
yname |
Column name of the second grouping parameter (set to NULL if only one grouping parameter) |
zname |
Column name of the statistic to aggregate |
colname |
Optional name of the aggregated statistic column |
keep |
Optional names of columns to keep in the aggregated data frame |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.