xMLcompare: Function to visualise cross-validation performance against...

Description Usage Arguments Value Note See Also Examples

View source: R/xMLcompare.r

Description

xMLcompare is supposed to visualise cross-validation performance against tuning parameters.

Usage

1
2
3
4
5
6
7
xMLcompare(
list_ML,
metric = c("ROC", "Sens", "Spec"),
xlab = NA,
xlimits = c(0.5, 1),
font.family = "sans"
)

Arguments

list_ML

a list of class "train" or "train.formula" objects (resulting from caret::train)

metric

the performance metric to plot. It can be one of 'ROC', 'Sens' (Sensitivity) and 'Spec' (Specificity)

xlab

a title for the x axis

xlimits

the limit for the x axis

font.family

the font family for texts

Value

an object of class "ggplot"

Note

none

See Also

xMLcompare

Examples

1
2
3
4
5
RData.location <- "http://galahad.well.ox.ac.uk/bigdata"
## Not run: 
gp <- xMLcompare(ls_ML, xlimits=c(0.5,1))

## End(Not run)

Pi documentation built on Nov. 26, 2020, 2:01 a.m.