View source: R/random-forest.R
random_forest | R Documentation |
Random forests
random_forest(spec, env, byrow = TRUE, seed = 123, ...)
## S3 method for class 'random_forest'
print(x, ...)
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. |
a rand_forest object.
Hou Yun
## Not run:
spec <- mtcars[c(1, 3, 4, 5)]
env <- mtcars[6:11]
random_forest(spec, env)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.