Quick Reference

Index of Functions

Looking for a function you can’t quite remember how to use? You’re in the right place! The table below is arranged alphabetically by function name, and the linked full name (including relevant package calls) will take you to the help documentation.

Function Name Link to Help Documentation Used In…
across() dplyr::across() 06: Mutate and Summarise
08: Analysis
all() all() 05: Filter and Select
07: Visualisations
anova() anova() 04: Reporting Linear Models with Quarto
any() any() 05: Filter and Select
apa_print() papaja::apa_print() 04: Reporting Linear Models with Quarto
05: Filter and Select
06: Mutate and Summarise
07: Visualisations
08: Analysis
apa_table() papaja::apa_table() 04: Reporting Linear Models with Quarto
08: Analysis
arrange() dplyr::arrange() 05: Filter and Select
as.numeric() as.numeric() 01/02: IntRoduction
as_tibble() tibble::as_tibble() 10: Qualtrics and Labelled Data
autoplot() ggplot2::autoplot() 04: Reporting Linear Models with Quarto
between() dplyr::between() 05: Filter and Select
boxplot() boxplot() 03: Datasets
c() c() 01/02: IntRoduction
03: Datasets
04: Reporting Linear Models with Quarto
05: Filter and Select
06: Mutate and Summarise
07: Visualisations
08: Analysis
10: Qualtrics and Labelled Data
11: Qualtrics II
c_across() dplyr::c_across() 06: Mutate and Summarise
chisq.test() chisq.test() 07: Visualisations
class() class() 01/02: IntRoduction
contains() dplyr::contains() 05: Filter and Select
06: Mutate and Summarise
contr.sum() contr.sum() 08: Analysis
contrasts() contrasts() 08: Analysis
cor.test() cor.test() 06: Mutate and Summarise
correlation() correlation::correlation() 06: Mutate and Summarise
count() dplyr::count() 03: Datasets
05: Filter and Select
06: Mutate and Summarise
data() data() 04: Reporting Linear Models with Quarto
describe_distribution() datawizard::describe_distribution() 03: Datasets
drop_na() tidyr::drop_na() 05: Filter and Select
emmeans() emmeans::emmeans() 08: Analysis
everything() dplyr::everything() 05: Filter and Select
filter() dplyr::filter() 05: Filter and Select
06: Mutate and Summarise
07: Visualisations
08: Analysis
geom_histogram() ggplot2::geom_histogram() 07: Visualisations
ggpairs() GGally::ggpairs() 06: Mutate and Summarise
ggscatmat() GGally::ggscatmat() 06: Mutate and Summarise
glance() broom::glance() 04: Reporting Linear Models with Quarto
08: Analysis
glimpse() dplyr::glimpse() 03: Datasets
gsub() gsub() 06: Mutate and Summarise
10: Qualtrics and Labelled Data
11: Qualtrics II
here() here::here() 03: Datasets
05: Filter and Select
06: Mutate and Summarise
07: Visualisations
08: Analysis
09: Test Flight
10: Qualtrics and Labelled Data
11: Qualtrics II
hist() hist() 03: Datasets
ifelse() ifelse() 07: Visualisations
is.character() is.character() 05: Filter and Select
is.na() is.na() 05: Filter and Select
10: Qualtrics and Labelled Data
is.null() is.null() 10: Qualtrics and Labelled Data
joint_tests() emmeans::joint_tests() 08: Analysis
kable_classic() kableExtra::kable_classic() 06: Mutate and Summarise
kable_styling() kableExtra::kable_styling() 03: Datasets
05: Filter and Select
06: Mutate and Summarise
07: Visualisations
08: Analysis
09: Test Flight
10: Qualtrics and Labelled Data
11: Qualtrics II
library() library() 03: Datasets
04: Reporting Linear Models with Quarto
05: Filter and Select
06: Mutate and Summarise
07: Visualisations
08: Analysis
09: Test Flight
10: Qualtrics and Labelled Data
11: Qualtrics II
lm() lm() 04: Reporting Linear Models with Quarto
08: Analysis
lmRob() robust::lmRob() 04: Reporting Linear Models with Quarto
max() max() 06: Mutate and Summarise
mean() mean() 01/02: IntRoduction
03: Datasets
median() median() 03: Datasets
05: Filter and Select
model_parameters() parameters::model_parameters() 04: Reporting Linear Models with Quarto
08: Analysis
n() dplyr::n() 06: Mutate and Summarise
na_values() labelled::na_values() 10: Qualtrics and Labelled Data
names() names() 03: Datasets
10: Qualtrics and Labelled Data
11: Qualtrics II
ncol() ncol() 03: Datasets
nice_table() rempsyc::nice_table() 04: Reporting Linear Models with Quarto
nrow() nrow() 03: Datasets
05: Filter and Select
06: Mutate and Summarise
07: Visualisations
options() options() 07: Visualisations
paste0() paste0() 08: Analysis
10: Qualtrics and Labelled Data
pick() dplyr::pick() 05: Filter and Select
plot() plot() 03: Datasets
position_jitterdodge() ggplot2::position_jitterdodge() 08: Analysis
print() print() 06: Mutate and Summarise
pull() dplyr::pull() 03: Datasets
06: Mutate and Summarise
10: Qualtrics and Labelled Data
range() range() 03: Datasets
read_csv() readr::read_csv() 03: Datasets
05: Filter and Select
06: Mutate and Summarise
07: Visualisations
08: Analysis
09: Test Flight
read_sav() haven::read_sav() 10: Qualtrics and Labelled Data
11: Qualtrics II
rename() dplyr::rename() 10: Qualtrics and Labelled Data
rep() rep() 10: Qualtrics and Labelled Data
11: Qualtrics II
return() return() 06: Mutate and Summarise
rglwidget() rgl::rglwidget() 07: Visualisations
round() round() 01/02: IntRoduction
03: Datasets
04: Reporting Linear Models with Quarto
rowMeans() rowMeans() 06: Mutate and Summarise
rowSums() rowSums() 05: Filter and Select
rowid_to_column() tibble::rowid_to_column() 08: Analysis
scale() scale() 08: Analysis
sd() sd() 03: Datasets
se() papaja::se() 06: Mutate and Summarise
06: Mutate and Summarise
sqrt() sqrt() 06: Mutate and Summarise
starts_with() dplyr::starts_with() 05: Filter and Select
06: Mutate and Summarise
str_to_title() stringr::str_to_title() 06: Mutate and Summarise
07: Visualisations
08: Analysis
10: Qualtrics and Labelled Data
11: Qualtrics II
sub() sub() 08: Analysis
sum() sum() 05: Filter and Select
summary() summary() 03: Datasets
04: Reporting Linear Models with Quarto
t.test() t.test() 01/02: IntRoduction
05: Filter and Select
theme_apa() papaja::theme_apa() 07: Visualisations
08: Analysis
theme_minimal() ggplot2::theme_minimal() 08: Analysis
tidy() broom::tidy() 04: Reporting Linear Models with Quarto
08: Analysis
tolower() tolower() 06: Mutate and Summarise
toupper() toupper() 06: Mutate and Summarise
ungroup() dplyr::ungroup() 06: Mutate and Summarise
10: Qualtrics and Labelled Data
unique() unique() 10: Qualtrics and Labelled Data
11: Qualtrics II
unlist() unlist() 10: Qualtrics and Labelled Data
user_na_to_na() labelled::user_na_to_na() 10: Qualtrics and Labelled Data
val_label() labelled::val_label() 10: Qualtrics and Labelled Data
val_labels() labelled::val_labels() 10: Qualtrics and Labelled Data
var_label() labelled::var_label() 10: Qualtrics and Labelled Data
view_df() sjPlot::view_df() 10: Qualtrics and Labelled Data
where() dplyr::where() 05: Filter and Select
08: Analysis
which() which() 06: Mutate and Summarise

Index of Topics

If you’re looking for a particular section of a tutorial, use this handy summary to jump straight to the section you want.

Topic Sub-Topic
01/02: IntRoduction
Orientation The RStudio Interface
Errors GlossoRlia: the Language of Errors
Types of Data Numeric Data, Character Data, Logical Data
Class and Coercion
Objects Creating an Object, Calling an Object, Using Objects, Overwriting Objects
Functions Basics and Help, Arguments, Using Functions
Quick Test: t-test
03: Datasets
Setup Projects, Documents, Installing and Loading Packages
Reading In Reading from File
Codebook
Viewing Call the Object, A Glimpse of the Data, View Mode
Overall Summaries Basic Summary, Other Summaries
The Pipe
Describing Datasets
Describing Variables Counting, Subsetting, Descriptives, Visualisations
04: Reporting Linear Models with Quarto
The Linear Model Data and Codebook, One Predictor, Hierarchial Models, Assumptions Checks
Quarto Getting Started, Creating a Code Chunk, Body Text, Dynamic Reporting, Rendering
05: Filter and Select
Setup Packages, Data
Filter General Format, Filtering with Assertions, Multiple Assertions, Data Cleaning
Select General Format, Selecting Directly, Using {tidyselect}
Quick Test: t-test redux
06: Mutate and Summarise
Setup Packages, Data
Mutate General Format, Adding and Changing Variables, Composite Scores, Conditionals, Iteration
Summarise General Format, By Group, Iteration
Formatting with {kableExtra} Essential Formatting, Dynamic Formatting
Quick Test: Correlation Visualisation, Testing Correlation
07: Visualisations
NA What do UGs know?
Setup Packages, Data
Grammar of Graphics Layers, Mapping, Geoms, etc.
Histograms and Density Plots Adjusting Binwidth, Colour and Fill Manual, Adjusting Axes with scale_*(), Adding a Theme, Facet Wrap
Barplots Position Dodge, Reordering Categories
Quick Test: \(\chi^2\)
Raincloud and Violin Plots Calculating Stats
Scatterplots Line of Best Fit, Colour and Fill Palette, 3D Plots
Reporting with Quarto Captions and Alt Text, Cross-Referencing
08: Analysis
Setup Packages, Data
Categorical Predictors Comparing Several Means, What about ANCOVA?, Factorial Designs, Mixed Designs
Continuous Predictors Mediation, Moderation
09: Test Flight
Setup Data
Data Analysis Tips Plan Your Process, Keep a Record, Be Consistent, Reduce Redundancies
The Whole Shebang Planning, Inspecting, Cleaning, Wrangling, Summarising, Analysing, Visualising, Reporting
10: Qualtrics and Labelled Data
NA Acknowledgements
Setup Packages, Data
Qualtrics Data SAV Data, Exporting from Qualtrics
The Plan
Cleanup and Data Dictionary Renaming Variables, Separating Columns, Viewer Data Dictionary
Labelled Data Variable Labels, Value Labels, Missing Values
Converting Variables Factor, Numeric, Conditional Conversion
11: Qualtrics II
NA Acknowledgements
Setup Packages, Data
Building a Qualtrics Project Choose Your Path, Accessing Qualtrics, Creating a Project
Minimal Set Up Qualtrics, Testing the Study
Moderate Using Templates, Developing a Script
Majority Survey Creation System, Survey Access System