Description Usage Arguments Value
View source: R/fdaAuxFunctions.R
Objective function for the penalised LM, to be optimised using stats::nlm()..
1 | LossFunction_LM(pars, y_vec, XBD_mat, penmat, lam, l1, lv)
|
pars |
Parameter vector ( |
y_vec |
Response vector. |
XBD_mat |
Functional predictor matrix after dimension reduction, plus an intercept if appropriate. |
penmat |
Penalty matrix. |
lam |
Penalty parameter. |
l1 |
First column of functional predictor ( |
lv |
Last column of functional predictor ( |
The penalised LM objective function evaluated at pars
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.