Description Usage Arguments Value
Compute basis expansion.
1 | gen_phi(basis, x, J_mod, J_true)
|
basis |
A list of basis functions. |
x |
The scalar to be expanded. |
J_mod |
The number of basis functions to be used in the model (INCLUDING THE INTERCEPT!). |
J_true |
the number of basis functions to be used in the true basis expansion ( INCLUDING THE INTERCEPT)! |
A list containing vectors phi_true and phi_mod.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.