predict.spCP {spCP}R Documentation

predict.spCP

Description

Predicts future observations from the spCP model.

Usage

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

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.

Details

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

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.

Author(s)

Samuel I. Berchuck


[Package spCP version 1.3 Index]