The fit.models
package maintains a list of comparable models.
These functions provide an api to modify this list.
fmclass.register(fmclass, classes, validation.function = NULL)fmclass.add.class(fmclass, class, warn = TRUE)
a character string naming the fit.models class to be added.
a character vector naming one or more classes that can be
compared by the methods defined for the fit.models class in fmclass
.
a function returning TRUE
when the models
are comparable.
a character string specifying a class compatible with the
methods of fmclass
.
a logical value. If TRUE, a warning is printed if class
is already registered.
a null value is invisibly returned.
See the package vignette.