map_density.Rd
Plot the predicted biomass density by year.
Output from stats::predict()
.
A string providing the desired prefix to use when saving
the density plots. The default is to save them in the current working
directory using the name "density[0-9]{2}.png"
. Obviously, the same
outcome would result from just "density"
but the use of file.path()
in the default is present to provide an example for users who want to
change the path to something other than their current directory.
Integers specifying the number of rows and columns for the faceted figures. The default is one row and two columns.
A regular expression string that will be used to search
the column names of predictions
to find the column name that will be
passed to ggplot2::geom_tile(ggplot2::aes(fill = ))
. The default results
in either "est"
or "est2"
depending on if the model is a delta model
or not.
A vector of length two with numeric values specifying the
tile width and height that will be passed to
ggplot2::geom_tile(width, height)
.`
A ggplot2/ggforce object is returned.
ggplot2::geom_tile()
for how the raster is created
ggforce::facet_wrap_paginate()
for how the pages are created
ggforce::n_pages()
for how many pages the object has