helper_TS {dtComb} | R Documentation |
Helper function for TS method.
Description
The helper_TS
function calculates the combination
coefficient and optimized value of given biomarkers for the TS method.
Usage
helper_TS(theta, markers, status)
Arguments
theta |
a |
markers |
a |
status |
a |
Value
A numeric
Optimized value calculated with combination scores
using theta
Author(s)
Serra Ilayda Yerlitas, Serra Bersan Gengec, Necla Kochan, Gozde Erturk Zararsiz, Selcuk Korkmaz, Gokmen Zararsiz
Examples
# call data
data(exampleData1)
# define the function parameters
markers <- cbind(exampleData1$ddimer, exampleData1$log_leukocyte)
status <- factor(exampleData1$group, levels = c("not_needed", "needed"))
t <- 0.5
stat <- helper_TS(theta = t, markers = markers, status = status)
[Package dtComb version 1.0.2 Index]