View source: R/summ_threshold.R
Summarize simulations down to the time point at which a statistic passes a certain threhold (assuming monotonous increase).
1 2 3 4 5 6 7 8 | summ_threshold(
d,
sname = "x",
tname = "t",
theta = 0.9,
colname = NULL,
keep = NULL
)
|
d |
Data frame with coordinates per timepoint per simulation |
sname |
Column name of the statistic to summarize |
tname |
Time column |
theta |
The threshold that needs to be passed |
colname |
Optional name of the summary column |
keep |
Optional names of columns to keep in the summary data frame |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.