Description Usage Arguments Value Examples
Obtain optimal cut point based on Youden index for binary phenotype and log rank test for right censored phenotype.
1 | getcut(pre, act, fam = "Logistic")
|
pre |
predicted value |
act |
actual values (class for binary phenotype and Surv object for right censored phenotype) |
fam |
the family of the outcome, can be "Gaussian", "Logistic" or "Cox" |
optimal cut point
1 2 3 | x <- rnorm(100)
y <- as.numeric(x + rlogis(100) > 0)
getcut(x, y)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.