predict_mra: Predict for new data using the MRA model

View source: R/predict_mra.R

predict_mraR Documentation

Predict for new data using the MRA model

Description

Predict for new data using the MRA model

Usage

predict_mra(out, new_data)

Arguments

out

The fitted mra object from mcmc_mra()

new_data

A list of new data at predicted locations with two inputs: locs_pred and X_pred representing the prediction locations and covariates, respectively

Value

A list of prediction objects: MRA_pred is the MRA grid information for the predicted locations. Xbeta_pred is the predicted fixed effects, Walpha_pred is the predicted spatial process, y_pred is the predicted response


jtipton25/BayesMRA documentation built on Feb. 28, 2024, 1:27 p.m.