CSMR_predict: The predict function of the CSMR algorithm.

Description Usage Arguments Value

View source: R/RBSL.R

Description

The predict function of the CSMR algorithm.

Usage

1
CSMR_predict(CSMR_coffs, CSMR.model, xnew, ynew, singleMode = F)

Arguments

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.

Value

A list object consist of coefficient, clustering membership, data x, external variable y, predicted y based on regression model.


RobMixReg documentation built on Aug. 5, 2020, 5:08 p.m.