powered by
Set default theme for sjp-functions.
set_theme(theme = c("forest", "538", "539", "scatter", "forestw", "538w", "539w", "scatterw", "blank"), ...)
Name of a pre-set theme. May be one of:
"blank"
a theme with no grids and axes.
"forest"
a theme for forest plots, with no grids, in "539" style.
"538"
a grey-scaled theme inspired by 538-charts, adapted from minimaxir.com.
"539"
a slight modification of the 538-theme.
"scatter"
a theme for scatter plots in 539-theme-style.
"538w"
"539w"
"scatterw"
"forestw"
for themes as described above, however all with white backgrounds.
Other arguments passed down to sjp.setTheme.
sjp.setTheme
The customized theme object.
Beautiful plotting in R: A ggplot2 cheatsheet
An Introduction on How to Make Beautiful Charts With R and ggplot2
sjPlot manual: customize plot appearance
# NOT RUN { library(sjmisc) data(efc) # of the ggplot base theme set_theme("539") sjp.xtab(efc$e42dep, efc$e16sex) # }
Run the code above in your browser using DataLab