Learn R Programming

GAGAs (version 0.6.2)

predict_LM_GAGA: Get predictions from a GAGA linear model fit object

Description

Get predictions from a GAGA linear model fit object

Usage

predict_LM_GAGA(fit, newx)

Value

Predictions

Arguments

fit

Fitted "GAGA" object.

newx

Matrix of new values for x at which predictions are to be made. Must be a matrix. If the intercept term needs to be considered in the estimation process, then the first column of X must be all 1s.