Learn R Programming

deepspat (version 0.3.1)

predict.deepspat: Deep compositional spatial model

Description

Prediction function for the fitted deepspat object

Usage

# S3 method for deepspat
predict(object, newdata, nsims = 100L, ...)

Value

predict.deepspat returns a list with the two following items

"df_pred"

Data frame containing the predictions/prediction intervals at the prediction locations

"allsims"

Combined simulations from the Gaussian mixtures (SDSP only)

Arguments

object

the deepspat object

newdata

data frame containing the prediction locations

nsims

number of simulations from the Gaussian mixture components (SDSP only)

...

currently unused