aggregate_variance: Aggregate replicate simulations

Description Usage Arguments

View source: R/aggregate_variance.R

Description

Aggregate a statistic down to its variance over replicates within values of one or two parameters.

Usage

1
2
3
4
5
6
7
8
aggregate_variance(
  d,
  xname = "hsymmetry",
  yname = "ecosel",
  zname = "summary",
  colname = NULL,
  keep = NULL
)

Arguments

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


rscherrer/egstools documentation built on April 4, 2020, 1:40 a.m.