mathComb | R Documentation |
The mathComb
function returns the combination results of
two diagnostic tests with different mathematical operators, distance
measures, standardization, and transform options.
mathComb(
markers = NULL,
status = NULL,
event = NULL,
method = c("add", "multiply", "divide", "subtract", "distance", "baseinexp",
"expinbase"),
distance = c("euclidean", "manhattan", "chebyshev", "kulczynski_d", "lorentzian",
"avg", "taneja", "kumar-johnson"),
standardize = c("none", "range", "zScore", "tScore", "mean", "deviance"),
transform = c("none", "log", "exp", "sin", "cos"),
show.plot = TRUE,
direction = c("auto", "<", ">"),
conf.level = 0.95,
cutoff.method = c("CB", "MCT", "MinValueSp", "MinValueSe", "ValueSp", "ValueSe",
"MinValueSpSe", "MaxSp", "MaxSe", "MaxSpSe", "MaxProdSpSe", "ROC01", "SpEqualSe",
"Youden", "MaxEfficiency", "Minimax", "MaxDOR", "MaxKappa", "MinValueNPV",
"MinValuePPV", "ValueNPV", "ValuePPV", "MinValueNPVPPV", "PROC01", "NPVEqualPPV",
"MaxNPVPPV", "MaxSumNPVPPV", "MaxProdNPVPPV", "ValueDLR.Negative",
"ValueDLR.Positive", "MinPvalue", "ObservedPrev", "MeanPrev", "PrevalenceMatching"),
...
)
markers |
a |
status |
a |
event |
a |
method |
a
|
distance |
a
|
standardize |
a
|
transform |
a
|
show.plot |
a |
direction |
a |
conf.level |
a |
cutoff.method |
a |
... |
further arguments. Currently has no effect on the results. |
A list of numeric
mathematical combination scores calculated
according to the given method and standardization option
Serra Ilayda Yerlitas, Serra Bersan Gengec, Necla Kochan, Gozde Erturk Zararsiz, Selcuk Korkmaz, Gokmen Zararsiz
data(exampleData1)
markers <- exampleData1[, -1]
status <- factor(exampleData1$group, levels = c("not_needed", "needed"))
event <- "needed"
direction <- "<"
cutoff.method <- "Youden"
score1 <- mathComb(
markers = markers, status = status, event = event,
method = "distance", distance = "avg", direction = direction, show.plot = FALSE,
standardize = "none", cutoff.method = cutoff.method
)
score2 <- mathComb(
markers = markers, status = status, event = event,
method = "baseinexp", transform = "exp", direction = direction,
cutoff.method = cutoff.method
)
score3 <- mathComb(
markers = markers, status = status, event = event,
method = "subtract", direction = "auto", cutoff.method = "MinValueSp", transform = "sin"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.