font {cvms} | R Documentation |
Create a list of font settings for plots
Description
Creates a list of font settings for plotting with cvms plotting functions.
Some arguments can take either the value to use directly OR a function that takes one argument (vector with the values to set a font for; e.g., the counts, percentages, etc.) and returns the value(s) to use for each element. Such a function could for instance specify different font colors for different background intensities.
NOTE: This is experimental and could change.
Usage
font(
size = NULL,
color = NULL,
alpha = NULL,
nudge_x = NULL,
nudge_y = NULL,
angle = NULL,
family = NULL,
fontface = NULL,
hjust = NULL,
vjust = NULL,
lineheight = NULL,
digits = NULL,
prefix = NULL,
suffix = NULL
)
Arguments
size , color , alpha , nudge_x , nudge_y , angle , family , fontface , hjust , vjust , lineheight |
Either the value to pass directly to
|
digits |
Number of digits to round to. If negative, no rounding will take place. |
prefix |
A string prefix. |
suffix |
A string suffix. |
Value
List of settings.
Author(s)
Ludvig Renbo Olsen, r-pkgs@ludvigolsen.dk
See Also
Other plotting functions:
dynamic_font_color_settings()
,
plot_confusion_matrix()
,
plot_metric_density()
,
plot_probabilities()
,
plot_probabilities_ecdf()
,
sum_tile_settings()