theme_grey2_nomargins {figuRes2}R Documentation

figuRes2 themes

Description

Adapts theme_grey() found in ggplot2

Usage

theme_grey2_nomargins(base_size = 12, base_family = "")

theme_grey2_default_margins(base_size = 12, base_family = "")

theme_bw2_nomargins(base_size = 12, base_family = "")

theme_bw2_default_margins(base_size = 12, base_family = "")

theme_table_nomargins(base_size = 12, base_family = "")

Arguments

base_size

used in set_theme calls

base_family

used in set_theme calls

Details

axis.text colour changed from "grey50" to "black"; legend.position changed from "right" to "bottom"; legend.direction changed to "horizontal"; plot.margin changed from default unit(c(1, 1, 0.5, 0.5), "lines") to unit(c(0, 0, 0, 0), "in")

Value

The returns a function that can be passed to ggplot2::theme_set

Functions

Author(s)

Greg Cicconetti

Examples

{
ggplot2::theme_set(theme_grey2_nomargins())
}

[Package figuRes2 version 1.0.0 Index]