Learn R Programming

dartR.base (version 1.0.5)

theme_dartR: 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
)

Value

a the standard dartR theme to be used in ggplots

Arguments

base_size

base font size, given in pts.

base_family

base font family

base_line_size

base size for line elements

base_rect_size

base size for rect elements

See Also

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

Examples

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

Run the code above in your browser using DataLab