predict.scalreg: Prediction based on a scalreg object

Description Usage Arguments Value Author(s) See Also

View source: R/predict.scalreg.R

Description

When the type of a scalreg object is "regression", this predict method applies.

Usage

1
2
## S3 method for class 'scalreg'
predict(object, newX = NULL,...)

Arguments

object

a fitted scalreg object.

newX

X values at which the fit is required. If newX is NULL, return the fitted value of the object.

...

Additonal arguments for generic methods

Value

y

the predicted values.

Author(s)

Tingni Sun

See Also

scalreg


scalreg documentation built on May 1, 2019, 10:55 p.m.