| helper_minimax {dtComb} | R Documentation | 
Helper function for minimax method.
Description
The helper_minimax function calculates the combination
coefficient and optimized value of given biomarkers for the minimax method.
Usage
helper_minimax(t, neg.set, pos.set, markers, status)
Arguments
t | 
 a   | 
neg.set | 
 a   | 
pos.set | 
 a   | 
markers | 
 a   | 
status | 
 a   | 
Value
A numeric Optimized value calculated with combination scores
using t
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"))
neg.set <- markers[status == levels(status)[1], ]
pos.set <- markers[status == levels(status)[2], ]
t <- 0.5
stat <- helper_minimax(t,
  neg.set = neg.set, pos.set = pos.set,
  markers = markers, status
)
[Package dtComb version 1.0.2 Index]