Learn R Programming

RiskMap (version 1.0.0)

plot_sim_surf: Plot simulated surface data for a given simulation

Description

This function plots the simulated surface data for a specific simulation from the result of `surf_sim`. It visualizes the linear predictor values on a raster grid along with the actual data points.

Usage

plot_sim_surf(surf_obj, sim, ...)

Value

A plot of the simulation results.

Arguments

surf_obj

The output object from `surf_sim`, containing both simulated data (`data_sim`) and predicted grid simulations (`lp_grid_sim`).

sim

The simulation index to plot.

...

Additional graphical parameters to be passed to the plotting function of the `terra` package.