Learn R Programming

spconform (version 0.1.1)

predict.spconform: Extract Predictions and Intervals from an spconform Object

Description

Extracts point predictions or prediction interval bounds from a fitted spconform object.

Usage

# S3 method for spconform
predict(object, interval = c("none", "prediction"), ...)

Value

If interval = "none", a numeric vector of point predictions. If interval = "prediction", a numeric matrix with columns fit,

lwr, and upr.

Arguments

object

An object of class "spconform".

interval

Character string specifying the type of prediction intervals to extract: "none" (default, point predictions only) or "prediction" (matrix with fit, lwr, upr).

...

Further arguments passed to or from other methods.