pfa is a generic function for generating valid PFA documents from the results of various model fitting functions. The function invokes particular methods which depend on the class of the first argument.
pfa(object, name = NULL, version = NULL, doc = NULL, metadata = NULL,
randseed = NULL, options = NULL, ...)a model object for which a PFA document is desired
a character which is an optional name for the scoring engine
an integer which is sequential version number for the model
a character which is documentation string for archival purposes
a list of strings that is computer-readable documentation for
archival purposes
a integer which is a global seed used to generate all random numbers. Multiple scoring engines derived from the same PFA file have different seeds generated from the global one
a list with value types depending on option name
Initialization or runtime options to customize implementation
(e.g. optimization switches). May be overridden or ignored by PFA consumer
additional arguments affecting the PFA produced
a list of lists that compose a valid PFA document
# all the "pfa" methods found
methods("pfa")
Run the code above in your browser using DataLab