Learn R Programming

r2pmml (version 0.31.0)

Convert R Models to 'PMML'

Description

R wrapper for the 'JPMML-R' library , which converts R models to Predictive Model Markup Language ('PMML').

Copy Link

Version

Install

install.packages('r2pmml')

Monthly Downloads

398

Version

0.31.0

License

AGPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Villu Ruusmann

Last Published

December 18th, 2025

Functions in r2pmml (0.31.0)

decorate.elm

Decorates an "elm" object with a "model" element.
decorate.default

Decorates a model object with "preProcess" and "pmml_options" elements.
decorate.earth

Decorates an "earth" object with an "xlevels" element.
decorate.WrappedModel

Decorates a "WrappedModel" object with "invert_levels" element. Additionally, decorates the learned model with model type-dependent elements.
decorate

Dispatches execution to the most appropriate model decoration function.
decorate.glmnet

Decorates a "glmnet" object with a "lambda.s" element.
as.fmap.matrix

Generates an XGBoost feature map based on feature data.
as.scorecard

Converts a "glm" object to a "scorecard" object.
as.fmap.data.frame

Generates an XGBoost feature map based on feature data.
as.fmap

Dispatches execution to the most appropriate XGBoost feature map generation function.
verify

Dispatches execution to the most appropriate model verification function.
r2pmml

Converts an R model object to PMML.
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.
verify.default

Enhances a model object with verification data.
write.fmap

Writes XGBoost feature map to a file.
verify.glm

Enhances a "glm" object with verification data.
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.
verify.xgb.Booster

Enhances an "xgb.Booster" object with verification data.
decorate.svm.formula

Decorates a "svm.formula" object with an "xlevels" element.
verify.train

Enhances a "train" object with verification data.