rnb.color.legends(report, legends, fprefix = ifelse(is.character(legends), "legend", "legend_"), description = "Color legend.", setting.names = NULL, size.factor = 3)Report.character vector. Element names denote legend
labels, and the elements themselves specify colors. This parameter can also be a list of
color legends. Special restrictions apply to the names of the list elements, see Details.rnb.add.figure for more details.legends is a list. See the
corresponding parameter in rnb.add.figure for more details. If this is set to
NULL (default), the list is automatically created using names(legends) (when
legends is a list), or as an empty list (when legends is a vector).legends specifies multiple legends in the form of a list, names(legends) are appended
to fprefix to generate file names. In order to ensure independence of the operating system, there are
strong restrictions on these names. They can consist of the following symbols only: Latin letters, digits,
dot (.), dash (-) and underline (_).