aitoa.create.stat.run: Generate a Virtual Run based on a Statistic

Description Usage Arguments Value

View source: R/create_stat_run.R

Description

For a given set of runs, selected x- and y-columns, a new run is computed whose x-coordinates are the unique x-coordinates from the original run and the corresponding y-coordinates are the specified statistic, computed over all the current values of the runs. Useless/duplicated points are deleted.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
aitoa.create.stat.run(
  data,
  x.column = c("t", "fes", "f"),
  y.column = c("f", "t", "fes"),
  stat.func = mean,
  make.stairs = TRUE,
  x.min = NA_real_,
  x.max = NA_real_,
  na.replacement = Inf
)

Arguments

data

the set of runs

x.column

the name of the x column

y.column

the name of the y column

stat.func

the statistic function to be computed

make.stairs

should stairs be computed?

x.min

an optional minimal x-coordinate, for which a point will be generated

x.max

an optional maximum x corrdinate, for which a point will be generated

na.replacement

a value to be used instead if NA.

Value

a matrix whose first column holds the x-coordinates and whose second column holds the y-coordinates, i.e., the computed statistics


thomasWeise/aitoaEvaluate documentation built on Dec. 6, 2020, 1:22 p.m.