R/make_intervals.R
make_intervals.Rd
Create Interval elements, most likely to add to a DataDictionary element.
make_intervals(
closure = NULL,
leftMargin = NULL,
rightMargin = NULL,
namespace = "4_4"
)
The 'closure' attribute of each 'Interval' element to be created in order.
The 'leftMargin' attribute of each 'Interval' element to be created in order.
The 'rightMargin' attribute of each 'Interval' element to be created in order.
The namespace of the PMML model
PMML Intervals elements.
The 'Interval' element allows 3 attributes, all of which may be defined in the 'make_intervals' function. The value of these attributes should be provided as a list. Thus the elements of the 'leftMargin' for example define the value of that attribute for each 'Interval' element in order.
make_values
to make Values child elements, add_data_field_children
to add these xml fragments to the DataDictionary PMML element.