predict.spCP: predict.spCP

View source: R/PRED_predict.R

predict.spCPR 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


spCP documentation built on Sept. 5, 2022, 9:06 a.m.