Preformatted reference line
reference_line(
label_name,
ref_line,
scale_amount = 1,
model_name = "1",
direction = "h"
)String. Name of the quantity that users want to extract the reference point from
String. Reference point(s)
Number. A number to scale the y-axis values.
Default: 1
String. Name of the model that will be present in the legend.
String. Direction of reference line (either 'h' for horizontal or 'v' for vertical)
Options: Including, but not limited to: "msy", "unfished", "target"
A ggplot2 geom_hline object for a reference point that can be added to a plot
if (FALSE) { # \dontrun{
reference_line(dat, "biomass", "msy")
} # }