plot.accest: Plot Method for Class 'accest'

Description Usage Arguments Details Author(s) See Also Examples

Description

Plots accuracy, margin or AUC at each iteration.

Usage

1
2
  ## S3 method for class 'accest'
plot(x, toplot="acc", main = NULL, xlab = NULL, ylab = NULL, ...)

Arguments

x

An object of class accest.

toplot

Quantity to plot (default=acc, mar, auc)

main

An overall title for the plot.

xlab

A title for the x axis.

ylab

A title for the y axis.

...

Additional arguments to the plot.

Details

This function is a method for the generic function plot() for class accest. It plots a performance estimate against iteration index.

Author(s)

David Enot and Wanchang Lin dle,wll@aber.ac.uk.

See Also

accest, accest

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
# Iris data
data(iris)
x <- as.matrix(subset(iris, select = -Species))
y <- iris$Species
pars <- valipars(sampling="cv", niter=10, nreps=5, strat=TRUE)

acc  <- accest(x,y, clmeth = "randomForest", pars = pars, ntree=50)
acc
## plot accuracies
plot(acc)

## plot margins
plot(acc,toplot="mar")

tonedivad/FIEmspro documentation built on May 31, 2019, 6:20 p.m.