Text describing the project

Prep

Load packages

if (!require(pacman)) {
  install.packages('pacman')
}
pacman::p_load(devtools, report, install = TRUE)
devtools::install_github("hadley/emo")

Define aesthetics

Define functions

Load data

Tidy data

  • Describe transformations made to the data
  • Describe participant and datapoint exclusions

Sample demographics

For this tutorial, these are made up demographics to illustrate how to summarize and present different characteristics

Sample size

Geographic distribution

Age

Gender

Race and ethnicity

Data quality checks

Missing data

Outliers

Descriptive statistics

Describe the items and scales used

Ns, means, and standard deviations

Correlations among variables

Visualize raw data

Distributions

Preregistered or confirmatory analyses

Hypothesis 1

Hypothesis text

Results

plot

model table

summary

check model

Check model assumptions using the {performance} package

Hypothesis 2

Hypothesis text

Results

plot

model table

summary

check model

Check model assumptions using the {performance} package

Post-hoc or exploratory analyses

Research question 1

Research question text

Results

plot

model table

summary

check model

Check model assumptions using the {performance} package

Package citations

report::cite_packages()
##   - Hadley Wickham, Jennifer Bryan and Malcolm Barrett (2021). usethis: Automate Package and Project Setup. R package version 2.1.5. https://CRAN.R-project.org/package=usethis
##   - Hadley Wickham, Jim Hester, Winston Chang and Jennifer Bryan (2021). devtools: Tools to Make Developing R Packages Easier. R package version 2.4.3. https://CRAN.R-project.org/package=devtools
##   - Makowski, D., Ben-Shachar, M.S., Patil, I. & Lüdecke, D. (2020). Automated Results Reporting as a Practical Tool to Improve Reproducibility and Methodological Best Practices Adoption. CRAN. Available from https://github.com/easystats/report. doi: .
##   - R Core Team (2021). R: A language and environment for statistical computing. R Foundation for Statistical Computing, Vienna, Austria. URL https://www.R-project.org/.
##   - Rinker, T. W. & Kurkiewicz, D. (2017). pacman: Package Management for R. version 0.5.0. Buffalo, New York. http://github.com/trinker/pacman