spatio_temporal_plot_fun: Fit spatio-temporal indices using the GMRF-SPDE approximation...

View source: R/spatio_temporal_plot_fun.R

spatio_temporal_plot_funR Documentation

Fit spatio-temporal indices using the GMRF-SPDE approximation of lindgren et al 2011 See the vignette for details

Description

Fit spatio-temporal indices using the GMRF-SPDE approximation of lindgren et al 2011 See the vignette for details

Usage

spatio_temporal_plot_fun(
  pred_df_plot,
  year,
  variable,
  hires_COAST,
  plot_figure = T,
  return_figure = F
)

Arguments

pred_df_plot

the sf object containing spatiotemporal predictions returned by 'spatiotemp_censored_index_fun'

year

integer specifying which year to plot

variable

character specifying which variable to plot

hires_COAST

a sf polygons object specifying the coastline used for plotting

plot_figure

logical. Do you want to print the plot?

return_figure

logical. Do you want to return the plot?


pbs-assess/hookCompetition documentation built on April 27, 2023, 12:47 p.m.