predict.PC_BLUP: Predict method for BLUP object.

Description Usage Arguments Value

Description

Calculate best linear unbiased predictors (BLUPs) using a previously fit mixed effects model for new observations.

Usage

1
2
## S3 method for class 'PC_BLUP'
predict(x, newdata, ...)

Arguments

x

object of class 'PC_BLUP' output from the BLUP function

newdata

data.frame of new observations for which to obtain fitted BLUP estimates.

...

ignored.

Value

A data.frame consisting of id, measurement time, marker, 'fitted.blup' giving the fitted blup estimates for the marker at each measurement time for newdata. There are also columns giving the fixed and random components of the blup for each variable in the mixed effect model. These could be used to calculate, for example, an blup estimate for the rate of change in marker values over time.


mdbrown/partlyconditional documentation built on May 22, 2019, 12:38 p.m.