Skip to contents

This function creates a new ggplot2 theme by modifying the cowplot::theme_half_open theme. It sets a custom font size and changes the panel background color to gray96. If cowplot is not installed, a close equivalent built on ggplot2::theme_classic() is used.

Usage

theme_r4pde(font_size = 16)

Arguments

font_size

The base font size. Default is 16.

Value

A ggplot2 theme object.