View source: R/plot-assessment-history-biomass.R
plot_assessment_history_biomass | R Documentation |
Title
plot_assessment_history_biomass(
base_model,
history_df,
x_labs_mod = 10,
ylim = c(0, 7),
y_breaks = ylim[1]:ylim[2],
y_major_lab_adj = 45,
tick_prop = 1,
vjust_x_labels = -0.25,
leg_pos = c(0.75, 0.8),
leg_ncol = 3,
leg_font_size = 8
)
base_model |
A model object, created by |
history_df |
A data frame, previously read in from the file
|
x_labs_mod |
Value for major X-axis tick marks. Every Nth tick will be longer and have a label. The first and last will be shown regardless of what this number is |
ylim |
A vector of two representing the minimum and maximum values to show on the y-axis |
y_breaks |
A vector of the values to show on the y-axis |
y_major_lab_adj |
A value to move the major tick abels closer/further away from the major tick marks. Reducing this moves them closer, increasing it moves them further away |
leg_pos |
The position of the legend inside the plot. If |
leg_ncol |
The number of columns to show in the legend |
leg_font_size |
The legend font size |
axis_title_font_size |
Size of the font for the X and Y axis labels |
axis_tick_font_size |
Size of the font for the X and Y axis tick labels |
axis_label_color |
Color for the axis labels and tick labels |
a ggplot2::ggplot()
object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.