CrossValidation: Cross Validation of SciencesPo Trees and Forests

Description Usage Arguments Value Author(s)

View source: R/CrossValidation.R

Description

Cross Validation of SciencesPo Trees and Forests.

Usage

1
2
3
4
5
6
7
CrossValidation(object, ...)

## S3 method for class 'Tree'
CrossValidation(object, FUN, ...)

## S3 method for class 'Forest'
CrossValidation(object, FUN, ...)

Arguments

object

a fitted Tree or Forest object in the formula.

...

additional arguments.

FUN

either tree or forest

Value

An object of class CV with elements:

call

the function call

Author(s)

Daniel Marcelino, dmarcelino@live.com.


SciencesPo documentation built on May 29, 2017, 9:28 p.m.