View source: R/visualisation.R
| theme_ins | R Documentation |
Applique un thème graphique professionnel adapté aux publications officielles des Instituts Nationaux de Statistique africains. Inspiré des chartes graphiques AFRISTAT/PARIS21.
theme_ins(
base_size = 11,
base_family = "sans",
couleur_fond = "white",
grille = TRUE,
grille_mineure = FALSE
)
base_size |
numeric — Taille de base de la police. Défaut : 11. |
base_family |
character — Famille de police. Défaut : "sans". |
couleur_fond |
character — Couleur de fond du panneau. Défaut : "white". |
grille |
logical — Afficher les lignes de grille. Défaut : TRUE. |
grille_mineure |
logical — Afficher la grille mineure. Défaut : FALSE. |
Un objet theme ggplot2.
if (requireNamespace("ggplot2", quietly = TRUE)) {
ggplot2::ggplot(mtcars, ggplot2::aes(wt, mpg)) +
ggplot2::geom_point() + theme_ins()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.