| .solver_build_lambda_block | R Documentation |
Assembles the full P \times P block-diagonal penalty matrix
\boldsymbol{\Lambda} from a shared per-partition penalty
Lambda and optional partition-specific additive terms.
P = p \times (K+1) where p is the number of basis terms
per partition.
.solver_build_lambda_block(
Lambda,
K,
unique_penalty_per_partition,
L_partition_list
)
Lambda |
Shared |
K |
Integer; number of interior knots ( |
unique_penalty_per_partition |
Logical; if |
L_partition_list |
List of |
When unique_penalty_per_partition = TRUE, the k-th
diagonal block is Lambda + L_partition_list[[k]]; otherwise
every block is Lambda.
A P \times P block-diagonal matrix,
P = p \times (K+1).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.