Fit a model (estimate model parameters).
fit method fits the object to data (i.e., estimates an object's
parameters). For objects deriving from McplBaseModel, default estimation is by
Maximum Likelihood if a
logLik method is defined for the object. If not,
Least Squares estimation is attempted.
- object = "ANY"