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
14
15
## Not run: 
data(GMAT)
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()

## End(Not run)

patriciamar/ShinyItemAnalysis documentation built on Jan. 14, 2019, 8:53 p.m.