theme_app | R Documentation |
ShinyItemAnalysis
graphicsThis complete theme is based on theme_bw
and it was modified for purposes
of ShinyItemAnalysis
.
theme_app(base_size = 15, base_family = "")
base_size |
base font size |
base_family |
base font family |
ggplot2::theme()
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()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.