theme_serene {BiVariAn}R Documentation

Basic theme for Bivaran packages plots

Description

Basic theme for Bivaran packages plots

Usage

theme_serene(
  base_size = 14,
  base_family = "sans",
  base_fontface = "plain",
  base_line_size = base_size/14,
  base_rect_size = base_size/14,
  axis_text_angle = 0,
  border = FALSE
)

Arguments

base_size

base font size, given in pts.

base_family

base font family

base_fontface

base font face

base_line_size

base line size

base_rect_size

base rect size

axis_text_angle

Axis text angle

border

Logical operator to indicate if the border should be printed

Value

Returns a list of classes "gg" and "theme"

Author(s)

Jhoselin Marian Castro-Rodriguez

Examples

library(ggplot2)
data <- mtcars
p1 <- ggplot(data, aes(disp, hp))+
geom_point()+
geom_smooth()

p1 + theme_serene()



[Package BiVariAn version 1.0.1 Index]