Learn R Programming

LPStimeSeries (version 1.0-5)

plot.learnPattern: Plot method for learnPattern objects

Description

Plot the MSE of a learnPattern object over trees based on out-of-bag predictions

Usage

"plot"(x, type="l", main=deparse(substitute(x)), ...)

Arguments

x
an object of class learnPattern.
type
type of plot.
main
main title of the plot.
...
other graphical parameters.

Value

Invisibly, MSE of the learnPattern object.

See Also

learnPattern

Examples

Run this code
data(GunPoint)
ensemble=learnPattern(GunPoint$trainseries,oob.pred=TRUE,replace=TRUE)
plot(ensemble)

Run the code above in your browser using DataLab