LSEfit: Find the Least Squares Fit

Description Usage Arguments

View source: R/fun_LinearLink.R

Description

Find the Least Squares Fit

Usage

1
LSEfit(x, y, intercept = FALSE, tol.lsfit = 1e-07)

Arguments

x

A matrix whose rows correspond to cases and whose columns correspond to variables. x matrix should not include a column of ones

y

The responses, possibly a matrix if you want to fit multiple left hand sides. y can be matrix if there are multiple left-hand sides

intercept

logical. Whether or not an intercept term should be used in least squares estimation. See lsfit.

tol.lsfit

Tolerance to be used in the matrix decomposition in least squares estimation. See lsfit.


mpascariu/MortalityEstimate documentation built on May 11, 2021, 6:33 p.m.