CSMR_predict | R Documentation |
The predict function of the CSMR algorithm.
CSMR_predict(CSMR_coffs, CSMR.model, xnew, ynew, singleMode = F)
CSMR_coffs |
The coefficient matrix. |
CSMR.model |
The trained model. |
xnew |
x variable. |
ynew |
y variable. |
singleMode |
A parameter to set the component to one. |
A list object consist of coefficient, clustering membership, data x, external variable y, predicted y based on regression model.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.