plot.mesh | R Documentation |
Plot a mesh created from the get_mesh that is saved in
the specified directory as VASTWestCoast_mesh
.
## S3 method for class 'mesh'
plot(mesh, savedir = getwd(), lab.survey = "survey")
mesh |
An INLA mesh resulting from |
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 nine 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 is also returned for future manipulation.
Kelli F. Johnson
See INLA::plot.inla.mesh()
for regular base R
methods for plotting meshes, which can be called using
plot(meshobject)
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.