Description Usage Arguments Details Value Author(s)
Creates a figure in the given report that contains one or more color legends.
1 2 3 4 5 6 7 8 | rnb.color.legends(
report,
legends,
fprefix = ifelse(is.character(legends), "legend", "legend_"),
description = "Color legend.",
setting.names = NULL,
size.factor = 3
)
|
report |
Report to contain the legend figure. This must be an object of type |
legends |
Color legend in the form of a non-empty |
fprefix |
File name or prefix for the plot files. |
description |
Text of the figure description. See the correponding parameter in
|
setting.names |
One-element list containing a plot file descriptor, when |
size.factor |
Relative size, in inches of the plots. Legends are displayed in columns of up to 10 items; each column is effectively a square with the specified size. |
In case 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 (_
).
The modified report.
Yassen Assenov
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.