View source: R/multiscaleSVDxpts.R
predictSimlr | R Documentation |
predict output matrices from simlr solution
predictSimlr(x, simsol, targetMatrix, sourceMatrices, projectv = TRUE)
x |
A list that contains the named matrices. |
simsol |
the simlr solution |
targetMatrix |
an optional index that sets a fixed target (outcome) matrix. If not set, each basis set will be used to predict its corresponding matrix. |
sourceMatrices |
an optional index vector that sets predictor matrices. If not set, each basis set will be used to predict its corresponding matrix. |
projectv |
boolean to determine whether raw u or x * v is used; default to TRUE which uses the x * v approach |
A list of variance explained, predicted matrices and error metrics:
varx: Mean variance explained for u_i
predicting x_i
.
predictions: Predicted x_i
matrix.
initialErrors: Initial matrix norm.
finalErrors: Matrix norm of the error term.
aggregateTstats: Summary t-stats for each matrix and each u_i
.
uOrder: Estimated order of the u_i
predictors aggregated over all terms.
BB Avants.
# see simlr examples
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.