fit is a generic function for fitting Stochastic Mortality Models.
The function invokes particular methods which depend on the class of the
first argument.
fit(object, ...)an object used to select a method. Typically of class
StMoMo or an extension of this class.
arguments to be passed to or from other methods.
fit is a generic function which means that new fitting strategies
can be added for particular stochastic mortality models. See for instance
fit.StMoMo.