| nipalspc.fit | R Documentation |
A NIPALS-based PCR that tolerates missing entries in both
predictors and responses by only using observed cells when updating scores
and loadings. It follows the same API as svdpc.fit so it can be used
whenever low-level PCR needs to handle incomplete data.
nipalspc.fit(
X,
Y,
ncomp,
center = TRUE,
stripped = FALSE,
maxiter = 500,
tol = 1e-06,
...
)
X |
numeric matrix (or coercible) of predictors. Missing values are allowed and handled internally. |
Y |
numeric matrix (or coercible) of responses. Missing values are also handled internally during the final regression step. |
ncomp |
number of PCR components to extract. |
center |
logical. If |
stripped |
logical. When |
maxiter |
maximum number of inner iterations per component. |
tol |
convergence tolerance used when the direction vector stabilizes. |
... |
currently ignored. |
A list mirroring the return value of svdpc.fit but computed
via the NA-robust NIPALS PCR updates.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.