Learn R Programming

pmml (version 1.2.21)

pmml.coxph: Generate PMML for a coxph object

Description

Generate the PMML (Predictive Model Markup Language) representation of a coxph object. The PMML can then be imported into other systems that accept PMML.

Usage

## S3 method for class 'coxph':
pmml(model, model.name="CoxPH_Survival_Regression_Model", app.name="Rattle/PMML",
     description="CoxPH Survival Regression Model", copyright=NULL, transforms=NULL, \dots)

Arguments

model
a coxph object.
model.name
a name to give to the model in the PMML.
app.name
the name of the application that generated the PMML.
description
a descriptive text for the header of the PMML.
copyright
the copyright notice for the model.
transforms
a coded list of transforms performed.
...
further arguments passed to or from other methods.

Details

The generated PMML can be imported into any PMML consuming application, such as Zementis' ADAPA.

Only numeric risk regression is supported currently.

References

Package home page: http://rattle.togaware.com

PMML home page: http://www.dmg.org Zementis' useful PMML convert: http://www.zementis.com/pmml_converters.htm

See Also

pmml.