summ_average: Summarize simulations

Description Usage Arguments

View source: R/summ_average.R

Description

Summarize simulations down to the average value of a statistic between two time points.

Usage

1
2
3
4
5
6
7
8
summ_average(
  d,
  sname = "x",
  tname = "t",
  trange = NULL,
  colname = NULL,
  keep = NULL
)

Arguments

d

Data frame with coordinates per timepoint per simulation

sname

Column name of the statistic to summarize

tname

Time column

trange

The two values between which to average (defaults to the entire range)

colname

Optional name of the summary column

keep

Optional names of columns to keep in the summary data frame


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