Synthetic Soft Coral Cover Field
synthetic_field_sc.RdSynthetic Soft Coral Cover Field
Arguments
- spatial_grid
An
sfc_POINTobject representing the full spatial grid.- all_effects_df
A data.frame containing the annual effects of disturbances.
- baseline_sample_sc
A matrix or data.frame containing the baseline soft coral cover.
- spde
A list containing the SPDE mesh, SPDE object, precision matrix
Q, and projection matrixA.- config_sp_sp_sp
A list containing config_sp_sp_spuration parameters, including
years.
Value
A list with:
all_effects_sc– matrix of combined baseline and effects on the SPDE meshall_pts_sample_sc– projected synthetic field onto the spatial gridall_pts_effects_sc– long-format data frame suitable for plotting