theme_app: Complete theme for 'ShinyItemAnalysis' graphics

Description Usage Arguments See Also Examples

View source: R/theme_app.R

Description

This complete theme is based on theme_bw and it was modified for purposes of ShinyItemAnalysis.

Usage

1
theme_app(base_size = 15, base_family = "")

Arguments

base_size

base font size

base_family

base font family

See Also

ggtheme

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
library(ggplot2)
data(GMAT, package = "difNLR")
data <- GMAT[, 1:20]
# total score calculation
df <- data.frame(score = apply(data, 1, sum))
# histogram
g <- ggplot(df, aes(score)) +
  geom_histogram(binwidth = 1) +
  xlab("Total score") +
  ylab("Number of respondents")

g
g + theme_app()

netique/ShinyItemAnalysis documentation built on Dec. 22, 2021, 12:10 a.m.