# Fit a model (estimate model parameters).

### Description

The `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.

### Methods

- object = "ANY"
Generic function.

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker. Vote for new features on Trello.