Specifications of a Model - Generic Function

DESCRIPTION:
Gives the specifications that were used explicitly or by default when the model was estimated.

This function is generic (see Methods); method functions can be written to handle specific classes of data. Classes which already have methods for this function include: loess, stl.


USAGE:
specs(object)

REQUIRED ARGUMENTS:
object:
any object, including a fitted model object of various kinds, a data frame, or a factor.

VALUE:
a specifications object containing values of all arguments that were used in creating object, both values specified by default and values specified by the user. For example, the method for loess objects produces an object of class "specs.loess" with components "data", "errors", "surface", and "computing". There is a print method corresponding to each "specs." class, so typing specs(object) will not save the specifications, but rather produce a nicely formatted table of a selection of the components in the specifications object.

DETAILS:
Shows the specifications of the local regression model and the computational options of the fit.

SEE ALSO:
Methods , print .

EXAMPLES:
specs(gas.m)

# produces the following: DATA formula: NOx ~ E data: subset: na.action: model: FALSE ERRORS weights: family: gaussian SURFACE normalize: span: 0.67 degree: 2 parametric: drop.square: enp: 5.52 COMPUTING surface: interpolate statistics: approximate cell: 0.2 iterations: 4 method: loess