Skip to contents

Returns a standardized ggplot2 theme matching TextAnalysisR design standards.

Usage

create_standard_ggplot_theme(base_size = 14)

Arguments

base_size

Base font size (default: 14)

Value

A ggplot2 theme object

Examples

if (FALSE) { # \dontrun{
library(ggplot2)
data(SpecialEduTech, package = "TextAnalysisR")
# Create a simple plot using text lengths
df <- data.frame(
  title_length = nchar(SpecialEduTech$title),
  abstract_length = nchar(SpecialEduTech$abstract)
)
ggplot(df, aes(title_length, abstract_length)) +
  geom_point() +
  create_standard_ggplot_theme()
} # }