Description Usage Arguments Examples
This function computes the sfpc when the response variable is continuous.
1 2 |
xmat |
a matrix. Each column represents a sample. |
y |
a vector. The response variable for each sample. |
theta |
between 0 and 1. The weight parameter. |
lambda |
a positive number. The smoothing parameter. |
npc_select |
an integer. The number of FPCs required. |
xmat_new |
a matrix. New dataset wish to predict on, each col corresponds to one sample. |
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.