| .extract_G_diagonal | R Documentation |
Given a P \times P matrix (e.g., the full-system
\mathbf{G} = (\mathbf{X}^{\top}\mathbf{V}^{-1}\mathbf{X} +
\boldsymbol{\Lambda})^{-1}), extracts the p \times p diagonal
block for each of the K+1 partitions.
.extract_G_diagonal(M, p_expansions, K)
M |
A |
p_expansions |
Integer; number of basis terms (columns) per partition. |
K |
Integer; number of interior knots. |
A list of length K+1, each element a
p\_expansions \times p\_expansions matrix corresponding to the
diagonal block for partition k.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.