The predict function of the CSMR algorithm.
CSMR_predict(CSMR_coffs, CSMR.model, xnew, ynew, singleMode = F)
The coefficient matrix.
The trained model.
x variable.
y variable.
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.