View source: R/findOptCutoff_Model.R
findOptCutoff_Model | R Documentation |
Tests different cutoffs on a continuous variable and calculates log-rank tests / survival differences
findOptCutoff_Model(
data,
srv,
frm0 = "srv~1",
frm = "srv~GRP",
stdVar = "VAL",
delta = 0.1,
minGrpSize = 1,
subjVar = NULL,
dist = NULL
)
data |
data.frame, with variables in cols |
srv |
Surv object with the corresponding data |
delta |
proportion in which group splitting should be performed |
minGrpSize |
minimum group size for cutoffs |
subject |
subject IDs if multiple measurements per subjects are to be tested |
data.frame with the calculated survival values (p.value, median survival, group sizes, cutoffsize, stepsize)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.