Description Usage Arguments Details Examples
Comlete theme specyfing background, lines, axes, legend and fonts. Default parameters are the same as in ggplot2 complete themes like theme_gray, theme_bw, theme_mininal etc.
1 2 | theme_knmf(base_size = 11, base_family = "sans",
base_line_size = base_size/22, base_rect_size = base_size/22)
|
base_size |
base font size. Particular text elements are scaled relatively to this. |
base_family |
base font family. |
base_line_size |
base size for line elements. Particular line elements are scaled relatively to this. |
base_rect_size |
base size for rect elements. Particular rect elements are scaled relatively to this. |
A simplistic theme with white background, thin axis lines and dashed, grey major grid. It is set as default when package ggKNMF is loaded.
By default uses Roboto Condensed fonts which must be installed by the user.
1 2 3 | ggplot(mtcars, aes(hp, fill = as.factor(gear))) + geom_density() +
facet_wrap(~as.factor(am)) +
labs(title = "Density plot", subtitle = "Two facets") + ggKNMF::theme_knmf()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.