Learn R Programming

treeDA (version 0.0.5)

plot.treedacv: Plot a treedacv object

Description

Plots the cross-validation error with standard error bars.

Usage

# S3 method for treedacv
plot(x, ...)

Arguments

x

An object of class treedacv.

...

Not used.

Examples

Run this code
# NOT RUN {
data(treeda_example)
out.treedacv = treedacv(response = treeda_example$response,
    predictors = treeda_example$predictors,
    tree = treeda_example$tree,
    pvec = 1:10)
plot(out.treedacv)
# }

Run the code above in your browser using DataLab