randomForestModel: Random Forest Model

Description Usage Arguments Details Value Author(s) Examples

View source: R/random_forest_model.R

Description

Build Random Forest Model.

Usage

1

Arguments

eqn

formula

df

data.frame

Details

randoMForestModel

Value

rf model

Author(s)

Jayachandra N

Examples

1
randomForestModel( Species ~ .,  iris)

Example output

Registered S3 method overwritten by 'quantmod':
  method            from
  as.zoo.data.frame zoo 

Call:
 randomForest(formula = eqn, data = df, importance = TRUE) 
               Type of random forest: classification
                     Number of trees: 500
No. of variables tried at each split: 2

        OOB estimate of  error rate: 5.33%
Confusion matrix:
           setosa versicolor virginica class.error
setosa         50          0         0        0.00
versicolor      0         47         3        0.06
virginica       0          5        45        0.10

shinyr documentation built on Oct. 21, 2021, 5:07 p.m.