Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

theme_ggstatsplot

Default theme used in all ggstatsplot package plots


Description

Common theme used across all plots generated in ggstatsplot and assumed by the author to be aesthetically pleasing to the user/reader.

Usage

theme_ggstatsplot(ggtheme = ggplot2::theme_bw(), ggstatsplot.layer = TRUE)

theme_corrmat()

theme_pie(ggtheme = ggplot2::theme_bw(), ggstatsplot.layer = TRUE)

Arguments

ggtheme

A function, ggplot2 theme name. Default value is ggplot2::theme_bw(). Any of the ggplot2 themes, or themes from extension packages are allowed (e.g., ggthemes::theme_fivethirtyeight(), hrbrthemes::theme_ipsum_ps(), etc.).

ggstatsplot.layer

Logical that decides whether theme_ggstatsplot theme elements are to be displayed along with the selected ggtheme (Default: TRUE). theme_ggstatsplot is an opinionated theme layer that override some aspects of the selected ggtheme.

Value

A ggplot2 object with the theme_ggstatsplot theme overlaid.

References


ggstatsplot

'ggplot2' Based Plots with Statistical Details

v0.7.2
GPL-3 | file LICENSE
Authors
Indrajeet Patil [cre, aut, cph] (<https://orcid.org/0000-0003-1995-6531>, @patilindrajeets)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.