predict.LMMsolve: Predict function

View source: R/LMMsolve-class.R

predict.LMMsolveR Documentation

Predict function

Description

Predict function

Usage

## S3 method for class 'LMMsolve'
predict(object, ..., newdata, se.fit = FALSE)

Arguments

object

an object of class LMMsolve.

...

Unused.

newdata

A data.frame containing new points for which the smooth trend should be computed. Column names should include the names used when fitting the spline model.

se.fit

calculate standard errors, default FALSE.

Value

A data.frame with predictions for the smooth trend on the specified grid. The standard errors are saved if 'se.fit=TRUE'.


LMMsolver documentation built on Sept. 11, 2024, 7:31 p.m.