predict.cat_lmm {catalytic} | R Documentation |
Predict Linear Predictor for New Data Using a Fitted Linear Mixed Model
Description
This function calculates the linear predictor (LP) for new data points based on a fitted linear mixed model (LMM) stored in object
.
Usage
## S3 method for class 'cat_lmm'
predict(object, newdata = NULL, ...)
Arguments
object |
A fitted model object of class |
newdata |
An optional data frame with new predictor values. If |
... |
Additional arguments passed to other functions. |
Value
A vector of linear predictor values for the specified new data.
[Package catalytic version 0.1.0 Index]