Learn R Programming

r2pmml (version 0.31.0)

decorate.randomForest: Decorates a "randomForest" object with PMML conversion options.

Description

Decorates a "randomForest" object with PMML conversion options.

Usage

# S3 method for randomForest
decorate(x, compact = FALSE, ...)

Arguments

x

A "randomForest" object.

compact

A flag controlling if decision trees should be transformed from binary splits (FALSE) to multi-way splits (TRUE) representation.

...

Arguments to pass on to the "decorate.default" function.