random_forest: Random forests

View source: R/random-forest.R

random_forestR Documentation

Random forests

Description

Random forests

Usage

random_forest(spec, env, byrow = TRUE, seed = 123, ...)

## S3 method for class 'random_forest'
print(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)

Hou Yun

Examples

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

## End(Not run)

Hy4m/linkET documentation built on June 30, 2023, 7:39 p.m.