func.ecdf: Create an ECDF Function

Description Usage Arguments Value

Description

Create an Empirical Cumulative Distribution Function (ECDF) function, i.e., a list with two membery x and y that stand for the coordinates of the function.

Usage

1
2
3
func.ecdf(x, goal = 0, goal.dim = 2L, time.dim = 1L,
  comparator = `<=`, time.type = as.integer, time.min = 1L,
  time.max = time.type(NA_real_), extract.run = identity)

Arguments

x

the data, maybe a list of matrices or a list of vectors/lists, where each element has at least the goal.dim and time.dim dimension.

goal

the goal value, i.e., the value which must be reached to be counted as success

goal.dim

the dimension where where the goal values can be found

time.dim

the dimension where the time values can be found

comparator

the comparator, usually `<=` or `>=`

time.type

the type function the time dimension, should be as.integer or as.numeric

time.min

the minimum time value to be used for the diagram, or NA to use the smallest time value in any run

time.max

the maximum time value to be used, or NA to pick the maximum time value of any run

extract.run

a function which can be used to extract the single runs from x, e.g., identity

Value

a list(x=c(...), y=c(...)) where the two members x and y will be vectors of corresponding coordinates


thomasWeise/plotteR documentation built on May 29, 2019, 5:41 a.m.