# NOT RUN {
# Load the standard iris dataset
data(iris)
# Make a object for the iris dataset to use with
# transformation functions
iris_box <- xform_wrap(iris)
# Output only the transformations in PMML format.
# This example will output just an empty "LocalTransformations"
# element as no transformations were performed.
trans_pmml <- pmml(NULL, transforms = iris_box)
# The following will also work
trans_pmml_2 <- pmml(, transforms = iris_box)
# }
Run the code above in your browser using DataLab