plot_ss | R Documentation |
Plot a single time series of estimated index values for the
US West Coast using data in a "Table_for_SS3.csv"
file.
plot_ss(
file.in = "Table_for_SS3.csv",
savefile,
lab.survey = "survey ",
lab.spp = "",
do.smooth = TRUE
)
file.in |
A file path pointing to the |
savefile |
The file name that you want the results saved to. A full path can be specified, else the file will be saved in the current directory. |
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
|
lab.spp |
A character string that will be pasted after the survey name
for the main title for the figure. Typically, this is the species name.
Scientific names can be passed using
|
do.smooth |
A logical value specifying whether or not a smoother should be added for the first strata, which is typically the strata that includes all areas. |
A 10 by 7 inch png is saved to the disk showing a time series of the estimated index of abundance from a single model run. If there are more than one strata, all strata are plotted, but the summary strata is always plotted in black and will be the only line with confidence intervals. Estimates are in metric tonnes, as labeled. Years with estimates of zero are excluded from the figure. A caption with a Latex label is also written to a csv file, where the first column is the label and the second column is the caption.
Chantel Wetzel
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.