MatrixModels (version 0.4-1)

reweightPred: Reweight Prediction Module Structure Internals

Description

Update any internal structures associated with sqrtXwt and the weighted residuals. The "V" matrix is evaluated from X using the sqrtXwt matrix and a Vtr vector is calculated.

Usage

reweightPred(predM, sqrtXwt, wtres, …)

Arguments

predM

a predictor module

sqrtXwt

the sqrtXwt matrix

wtres

the vector of weighted residuals

potentially further arguments used in methods; not used currently.

Value

updated predM

Methods

signature(predM = "dPredModule", sqrtXwt = "matrix", wtres = "numeric")

..

signature(predM = "sPredModule", sqrtXwt = "matrix", wtres = "numeric")

..

Examples

Run this code
# NOT RUN {
## TODO
# }

Run the code above in your browser using DataLab