Text representation of normaliser information for plots and reports
Source:R/graphics_functions.R
label_normaliser.Rd
Utilty function for providing inforamtion about normalistation to plots in
e.g. plot_assessment
(where it is used with label_unit
) or
html reports in e.g. report_assessment
.
Arguments
- normaliser
Character vector giving the names of the normaliser (ICES code rather than common name)
- value
Numeric vector giving the value of the normaliser
- unit
Character vector giving the unit of the normaliser
- html
Logical with TRUE returning an html representation for use in markdown and FALSE (default) returning an text expression for use in lattice (grid) graphics