predict.RFPCA | R Documentation |
Obtains the predicted value for a set of new sparse observations
## S3 method for class 'RFPCA'
predict(
object,
newLy,
newLt,
sigma2 = NULL,
K,
xiMethod = c("CE", "IN"),
type = c("xi", "traj"),
...
)
object |
An 'RFPCA' object |
newLy |
A list containing the new response values; each entry corresponds to a subject and should be a matrix in which each column is an observation. |
newLt |
A list containing the new time points; each entry corresponds to a subject and should be a vector. |
sigma2 |
The noise variance to use for the prediction. Serves as a regularization parameter. If left as 'NULL', use the one chosen when fitting 'object'. |
K |
The number of components to apply. If missing, default to all components in 'object' |
xiMethod |
Either to use the conditional expectation (''CE'‘) or the integration method ('’IN'') to predict |
type |
Either to predict the FPC scores (''xi'‘) or the underlying trajectories ('’traj'') |
... |
Not used |
A 2D array of predicted scores with entries corresponds to (i, k)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.