rfModel.pdp {hpiR}R Documentation

Random forest model approach with pdp estimator

Description

Use of pdp estimator in random forest approach

Usage

## S3 method for class '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


[Package hpiR version 0.3.2 Index]