Helper function to create plotting data from an lgcpReal object
plot_lgcp_dat(
samps,
grid.data,
lg,
nchains,
idx.mapping = NULL,
cellwidth = 0.005,
covariates,
plotlag = 0,
data.out = FALSE
)MCMC samples extracted from lgcpReal object
Grid used for sampling and plotting
lgcpReal model fit
Number of MCMC chains in model fit
Matrix specifying plot order of grid cells
Cellwidth of the grid
SpatialPolygonsDataFrame with the original covariate data
Laglength for the plot
Logical indicating whether to return data frame with only plotting data (FALSE) or a list containing each predicted model subcomponent (TRUE)
A data.frame with model predictions across the computation grid used in the plotting functions in this package.