random_forest: Random forests

Description Usage Arguments Value Author(s) Examples

View source: R/random-forest.R

Description

Random forests

Usage

1
2
3
4
5
6
7
random_forest(spec, env, byrow = TRUE, seed = 123, ...)

## S3 method for class 'random_forest'
print(x, ...)

## S3 method for class 'random_forest'
plot(x, ...)

Arguments

spec, env

a data.frame object.

byrow

a logical value, if TRUE, the 'spec' on the rows.

seed

a integer value.

...

extra parameters.

x

a rand_forest object.

Value

a rand_forest object.

Author(s)

Houyun Huang, Lei Zhou, Jian Chen, Taiyun Wei

Examples

1
2
3
4
5
6
## Not run: 
spec <- mtcars[c(1, 3, 4, 5)]
env <- mtcars[6:11]
random_forest(spec, env)

## End(Not run)

houyunhuang/ggcor documentation built on July 22, 2020, 8:31 p.m.