Learn R Programming

spCP (version 1.4.0)

predict.spCP: predict.spCP

Description

Predicts future observations from the spCP model.

Usage

# S3 method for spCP
predict(object, NewTimes, ...)

Value

predict.spCP returns a list containing the following objects.

Y

A list containing a matrix of predictions for each future time point. Each matrix has one column for each location and contains posterior samples obtained by Bayesian krigging.

Arguments

object

a spCP model object for which predictions are desired from.

NewTimes

a numeric vector including desired time(s) points for prediction.

...

other arguments.

Author

Samuel I. Berchuck

Details

predict.spCP uses Bayesian krigging to obtain posterior samples from future time points.