plot.treedacv: Plot a treedacv object

Description Usage Arguments Examples

View source: R/treeda-functions.R

Description

Plots the cross-validation error with standard error bars.

Usage

1
2
## S3 method for class 'treedacv'
plot(x, ...)

Arguments

x

An object of class treedacv.

...

Not used.

Examples

1
2
3
4
5
6
data(treeda_example)
out.treedacv = treedacv(response = treeda_example$response,
    predictors = treeda_example$predictors,
    tree = treeda_example$tree,
    pvec = 1:10)
plot(out.treedacv)

treeDA documentation built on May 15, 2021, 1:07 a.m.