plot_field: Plot spatial and spatiotemporal fields

View source: R/field_plots.R

plot_fieldR Documentation

Plot spatial and spatiotemporal fields

Description

Projects and plots fields. Can plot just estimated fields, or include generative fields for comparison purposes.

Usage

plot_field(
  est,
  gen = NULL,
  mesh = generate_mesh(),
  proj_step = 1,
  par_regex = NULL,
  colorbar = FALSE
)

Arguments

est

Vector or named list of parameter estimates

gen

Named list of generative parameter values (not required)

mesh

FEM mesh used for spatial/spatiotemporal fields

proj_step

Size of projection pixels

par_regex

Search string for parameter names (e.g. "omega" will include both omega_n and omega_w)

colorbar

Plot a colorbar?

Author(s)

John K Best


jkbest2/spatq documentation built on Sept. 22, 2022, 3:22 a.m.