View source: R/latency_two_objects.R
This function takes as input a matrix with longitudinal measurements (e.g., volume) and timepoints and returns a matrix holding the status (second threshold reached vs. censored) and latency between two given thresholds.
1 2 | latency_two_thresholds(dataset, object, identifier = UID, time = age,
group = group, lower_threshold, upper_threshold)
|
dataset |
matrix |
object |
(unquoted) variable in 'dataset' to calculate latency for |
identifier |
(unquoted) variable in 'dataset' defining samples/replicates; one sample can have several pertaining objects |
time |
(unquoted) variable in 'dataset' indicating time at measurement |
group |
(unquoted) variable in 'dataset' indicating groups samples pertain to |
lower_threshold |
numeric; lower threshold |
upper_threshold |
numeric; upper threshold |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.