theme_dartR: Default theme for dartR plots

View source: R/theme_dartR.r

theme_dartRR Documentation

Default theme for dartR plots

Description

This is the theme used as default for dartR plots. This function controls all non-data display elements in the plots.

Usage

theme_dartR(
  base_size = 11,
  base_family = "",
  base_line_size = base_size/22,
  base_rect_size = base_size/22
)

Arguments

base_size

Base font size, in points; all text sizes scale with it [default 11].

base_family

Base font family [default ""].

base_line_size

Base size for line elements [default base_size / 22].

base_rect_size

Base size for rect elements [default base_size / 22].

Value

A complete ggplot2 theme, to be added to a ggplot.

Author(s)

Author(s): Bernd Gruber. Custodian: Bernd Gruber – Post to https://groups.google.com/d/forum/dartr

See Also

Other environment: gl.check.verbosity(), gl.check.wd(), gl.print.history(), gl.recalc.metrics(), gl.set.verbosity(), gl.set.wd()

Examples

ggplot(data.frame(dummy=rnorm(1000)),aes(dummy)) +
geom_histogram(binwidth=0.1) + theme_dartR()


dartR.base documentation built on Nov. 18, 2026, 9:06 a.m.