View source: R/plot.inputgrid.R
plot.inputgrid | R Documentation |
Plot a map of the grid cells used in the prediction of VAST results.
## S3 method for class 'inputgrid'
plot(data, savedir = getwd(), lab.survey = "survey")
data |
A data frame returned from get_inputgrid that includes the following columns:
|
savedir |
A file path to the directory where the results will be saved. The default is the current working directory. The path can be relative or absolute. |
lab.survey |
A character entry specifying the name of the survey that
gathered the data. This can be text of your choice or a single word used
to represent the survey name as defined in the first column of
|
A figure 9 inches long (roughly fitting on a single page) is saved to the disk, along with a caption. The files are saved using the name VASTWestCoast_mesh.xxx. The ggplot2 object is returned for future manipulation.
Kelli F. Johnson
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.