Skip to content

Templates, utilities, and style guides for use in Motivation and Behaviour Research Program

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

Motivation-and-Behaviour/tidyMB

tidyMB

Lifecycle: experimental CRAN status

The goal of tidyMB is to provide opinionated table, figure, and .Rmd templates and styles used in the Motivation and Behaviour program at Institute for Positive Psychology and Education, Australian Catholic University.

Installation

The development version from GitHub with:

# install.packages("devtools")
devtools::install_github("Motivation-and-Behaviour/tidyMB")

Example plot comparing default with theme_mnb

library(tidyMB)
suppressPackageStartupMessages(library(tidyverse))
## Then use the + mnb on your plots ##
original <- iris %>% 
  ggplot(aes(x = Sepal.Length, y = Sepal.Width, col = Species)) +
        geom_smooth(method = "lm", se = F) +
        geom_jitter()
mnb_version <- original + theme_mb()
require(gridExtra)
#> Loading required package: gridExtra
#> 
#> Attaching package: 'gridExtra'
#> The following object is masked from 'package:dplyr':
#> 
#>     combine
grid.arrange(original, mnb_version, ncol = 2)
#> `geom_smooth()` using formula 'y ~ x'
#> `geom_smooth()` using formula 'y ~ x'

About

Templates, utilities, and style guides for use in Motivation and Behaviour Research Program

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5