Learn R Programming

lares (version 4.7)

theme_lares2: lares Theme for ggplot2

Description

Based on hrbrthemes' theme_ipsum and customized for lares' use.

Usage

theme_lares2(font = "Arial Narrow", base_size = 12.5,
  main_colour = "darkorange3", hard_colour = "black",
  soft_colour = "grey30", bg_colour = "white", legend = "right",
  mg = 15, pal = 0)

Arguments

font, base_size

Character and numeric. Base font family and size

main_colour, hard_colour, soft_colour, bg_colour

Character. Main colours for your theme

legend

Character. Legend position: top, right, bottom, left

mg

Numeric. External margin

pal

Integer. 1 for fill and colour palette, 2 for only colour palette, 3 for personal labels-colour palette. 0 or else for nothing.

Why Arial Narrow?

First and foremost, Arial Narrow is generally installed by default or readily available on any modern system, so it's "free"-ish; plus, it is a condensed font with solid default kerning pairs and geometric numbers.

See Also

Other Visualization: corr_plot, distr, freqs_df, freqs, mplot_conf, mplot_cuts_error, mplot_cuts, mplot_density, mplot_full, mplot_gain, mplot_importance, mplot_lineal, mplot_metrics, mplot_response, mplot_roc, mplot_splits, noPlot, plot_survey, theme_lares, tree_var