ggField: Run a Model and Estimate Underlying Field From Point and...

Description Usage Arguments Value Examples

View source: R/ggField.R

Description

Run a model and estimate underlying latent and probability field from point and polygon data using TMB.

Usage

1
ggField(field, plotVar = "theta")

Arguments

field

field object which simulated underlying data

plotVar

character, which variable to plot

Value

ggplot object of underlying field

Examples

1
2
3
4
5
6
7
8
unitSim <- simField(
N = 100, rangeE = .5,
offset = c(0.1, 0.2), 
max.edge = c(0.1,0.2),
beta0 = -2)

ggField(unitSim)
  

nmmarquez/PointPolygon documentation built on Dec. 10, 2020, 1:15 a.m.