theme_vakdr: Default Options for automatic loading of vakdr

Description Usage Arguments Details Value Examples

View source: R/setOptions.R

Description

The functions below represent default options for graphing/knitting that should be used when creating any report.

Usage

1

Arguments

...

passed to theme_minimal

Details

'theme_vakdr'

A modified version of ggplot2::theme_minimal(). See source code of theme_vakdr for more information, and theme for details.

Value

a ggplot2 theme object

Examples

1
2
3
4
5
library(ggplot2)
ggplot(mtcars, aes(x = hp, y = mpg, color = as.factor(cyl))) + geom_point()
# Revert back to default ggplot2 theme:
theme_set(theme_gray())
ggplot(mtcars, aes(x = hp, y = mpg, color = as.factor(cyl))) + geom_point()

West-End-Statistics/r-library-vakdr documentation built on Dec. 18, 2021, 7:16 p.m.