# Convert R Models to PMML

## Documentation for package ‘r2pmml’ version 0.24.0

- DESCRIPTION file.

## Help Pages

as.scorecard | Converts a "glm" object to a "scorecard" object.
decorate | Dispatches execution to the most appropriate model decoration function.
decorate.default | Decorates a model object with "preProcess" and "pmml_options" elements.
decorate.earth | Decorates an "earth" object with an "xlevels" element.
decorate.elmNN | Decorates an "elmNN" object with a "model" element.
decorate.glmnet | Decorates a "glmnet" object with a "lambda.s" element.
decorate.party | Decorates a "party" object with a "predicted" element.
decorate.randomForest | Decorates a "randomForest" object with PMML conversion options.
decorate.ranger | Decorates a "ranger" object with a "variable.levels" element.
decorate.svm.formula | Decorates a "svm.formula" object with an "xlevels" element.
decorate.train | Decorates the final model of a "train" object with model type-dependent elements.
decorate.xgb.Booster | Decorates an "xgb.Booster" object with "fmap", "schema", "ntreelimit" and "pmml_options" elements.
genDMatrix | Generates an XGBoost "DMatrix" object based on label and feature data.
genFMap | Generates an XGBoost feature map based on feature data.
r2pmml | Converts an R model object to PMML.
verify | Dispatches execution to the most appropriate model verification function.
verify.default | Enhances a model object with verification data.
verify.glm | Enhances a "glm" object with verification data.
verify.train | Enhances a "train" object with verification data.
writeFMap | Writes XGBoost feature map to a file.