View source: R/plot_weight_length.R
plot_weight_length | R Documentation |
Plots the weight-at-length data and estimates
plot_weight_length(
data,
dir = NULL,
estitmates = NULL,
col_length = "length_cm",
col_weight = "weight_kg",
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_weight |
A numeric or character value specifying the column
to use in |
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. |
estimates |
Data frame of weight-at-length estimates from |
Chantel Wetzel
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.