View source: R/plot_length_age.R
plot_length_age | R Documentation |
Plots the length-at-age data and estimates
plot_length_age(
data,
dir = NULL,
col_length = "length_cm",
col_age = "age",
estimates = NULL,
two_sex = TRUE,
add_save_name = NULL,
height = 7,
width = 7,
dpi = 300
)
data |
Data frame created by |
dir |
Directory where output will be saved. The directory where the file should be saved. If dir = NULL no output will be saved. |
col_length |
A numeric or character value specifying the column
to use in |
col_age |
A numeric or character value specifying the column
to use in |
estimates |
Data frame of age-at-length estimates from |
two_sex |
Default TRUE. If TRUE the sexed data will be plotted and if
FALSE all data will be plotted as unsexed. If |
add_save_name |
Option to add text to a saved figure name. This option
can be useful if creating plots across multiple species and saving them
into a single folder. The default is |
width , height |
Numeric values for the figure width and height in inches. The defaults are 7 by 7 inches. |
dpi |
The resolution to apply when saving figures. Lower resolution values can reduce file size which can be helpful when creating large documents with many figures. The default is 300. |
Chantel Wetzel
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.