Learn R Programming

hpiR (version 0.3.2)

rfModel.pdp: Random forest model approach with pdp estimator

Description

Use of pdp estimator in random forest approach

Usage

# S3 method for pdp
rfModel(estimator, rf_df, rf_spec, ntrees = 200,
  seed = 1, ...)

Arguments

estimator

Type of model to estimates (pdp)

rf_df

Transactions dataset from hedCreateSales()

rf_spec

Model specification (`formula` object)

ntrees

[200] Set number of trees to use

seed

[1] Random seed for reproducibility

...

Additional arguments

Further Details

See `?rfModel` for more information