modAcc: Generate a list of 'ROCit' objects or 'RMSEit' for different...

Description Usage Arguments Value Note

Description

Generate a list of ROCit objects or RMSEit for different datasets

Usage

1
2
modAcc(fit, datatype = c("test", "train"), testdata = NULL,
  modelKeep = FALSE, ...)

Arguments

fit

a train object generated by ROCtest or RMSEtest

datatype

a named character representing the accuracy object be built on either "train" or "test" data, user can include both

testdata

a list of length two containing a named slot for the matrix of predictors (pred) and the vector of classes (class)

modelKeep

a logical indicating whether the original model object should be stored, default is FALSE

...

additional arguments passed to modSearch

Value

a list with the following:

Note

The values presented are for the optimal threshold as computed by the roc function for ROC objects.


jknowles/EWStools documentation built on May 19, 2019, 11:42 a.m.