| .bf_lagrangian_project | R Documentation |
Projects the adjusted cross-product \mathbf{X}_s^{\top}
\tilde{\mathbf{y}} through \mathbf{G}_s^{1/2} and
removes the component along \mathbf{G}_s^{1/2}\mathbf{A}_s
to enforce the smoothness constraints in the spline block.
When cv_spline contains nonzero values (e.g.\ from
no_intercept), the corresponding contribution is added
back after projection.
.bf_lagrangian_project(
Xy_adj,
Ghalf_cur,
GhalfA_cur,
cv_spline,
K,
nc_spline,
A_spline,
parallel_qr = FALSE,
cl = NULL
)
Xy_adj |
List of |
Ghalf_cur |
List of |
GhalfA_cur |
|
cv_spline |
List of constraint right-hand-side vectors for the spline subproblem (may be empty). |
K |
Integer; number of interior knots. |
nc_spline |
Integer; number of spline columns. |
A_spline |
Spline-only constraint matrix. |
List of K+1 coefficient vectors
(nc_s \times 1).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.