General Fitting for Linear Models

USAGE:

lm.fit(x, y, method, ...) 

This function is a switcher among the various numerical fitting functions ( lm.fit.qr, lm.fit.chol, lm.fit.svd). The argument method does the switching: "qr" for lm.fit.qr, etc. For most purposes, you would be better off calling the lower-level function directly unless you want to write code that takes the method argument.

OPTIONAL ARGUMENTS:

...
Optional arguments vary by the method. Common arguments are:
singular.ok
logical value, if " singular.ok=T" then fitting will continue in the presence of over-determined models. Default FALSE.
tolerance
is used to determine when a model is over-determined (singular). Default is 1e-07.

SEE ALSO:

, , .