predict.fastplm: Predict Fixed Effect Model

View source: R/fastplm.R

predict.fastplmR Documentation

Predict Fixed Effect Model

Description

Predicts new Y for a given X based on a solved model.

Usage

## S3 method for class 'fastplm'
predict(object, data = NULL, x = NULL, 
		sp = NULL, ind = NULL, ...)

Arguments

object

The model solved by fastplm.

data

A dataframe object.

x

New design matrix.

sp

New numeric vector for the b-splines covariate.

ind

New raw indicator matrix.

...

Other arguments.

Value

Predicted Y.


xuyiqing/fastplm documentation built on May 21, 2022, 5:39 a.m.