View source: R/findOptCutoff.R
findOptCutoff | R Documentation |
Tests different cutoffs on a continuous variable and calculates log-rank tests / survival differences
findOptCutoff(data, srv, delta = 0.1, minGrpSize = 1, subject = NULL)
data |
vector with value to analyze |
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.