Learn R Programming

hierarchicalDS (version 3.0)

plot_N_map: function to plot a map of abundance. this was developed for spatio-temporal models in mind

Description

function to plot a map of abundance. this was developed for spatio-temporal models in mind

Usage

plot_N_map(cur.t, N, Grid, highlight = NULL)

Arguments

cur.t

time step to plot

N

A vector of values to plot (e.g. abundance)

Grid

A list of SpatialPolygonsDataFrame (one for each time step) - holding survey unit spatial information

highlight

If provided, the rows of Grid[[cur.t]] to specially highlight

Value

A ggplot2 object