helper_TS | R Documentation |
The helper_TS
function calculates the combination
coefficient and optimized value of given biomarkers for the TS method.
helper_TS(theta, markers, status)
theta |
a |
markers |
a |
status |
a |
A numeric
Optimized value calculated with combination scores
using theta
Serra Ilayda Yerlitas, Serra Bersan Gengec, Necla Kochan, Gozde Erturk Zararsiz, Selcuk Korkmaz, Gokmen Zararsiz
# call data
data(laparotomy)
# define the function parameters
markers <- cbind(laparotomy$ddimer, laparotomy$log_leukocyte)
status <- factor(laparotomy$group, levels = c("not_needed", "needed"))
t <- 0.5
stat <- helper_TS(theta = t, markers = markers, status = status)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.