R Tutorials
Code Snippets and Dataframe Wrangling
Create your own psycholinguistic database (joining features to words) <click here>
Dataframe wrangling (pivoting, renaming, switching between types) <click here>
Group_by, Summarize, Ungroup dataframes <click here>
Loading, saving, reading rda files and downloading from a Github repo <click here>
Loops, functions, data transformations <click here>
Read data into R from the OSF <click here>
graphic design and plotting
animation in R using gganimate <click here>
plots, plots, plots — tons of plots annotated from our lab <click here>
plot pubmed citation count for a subject title by year (how to?) <click here>
table formatting for RMarkdown using KableExtra <click here>
statistics (how to & demos)
Descriptive statistics <click here>
Equivalence testing <click here>
Exploratory factor analysis (EFA) <click here>
Exporting summary data from R to tables (e.g., MS Word) <click here>
Linearity test (rainbow test) <click here>
Time series (rolling means, smoothing, interpolation) <click here>
Text, Text Mining, & NLP
Code snippets for string manipulation <click here>
Producing corpus analytics from your language sample <click here>
Introduction to Quanteda for analytics on multi-document corpora <click here>
ngram tokenization <click here>
Regex for R <click here>
Sample 1: tagging arousal to every word of Goodfellas <click here>
Sample 2: text analysis of the Unabomber Manifesto <click here>
String Wrangling (split, unlist, etc.) <click here>
Time series motif detection (e.g., recurring patterns in a jazz solo) <click here>
Topic models <click here>