Publications by Jen Richmond

Week 4 learning log: wordclouds

11.03.2021

word clouds This week I have been prepping a talk for high school students about about “how to study”- I wanted to see what they might already know about things like retrieval practice and the testing effect so I asked some first year students to fill out a google form and tell me what kinds of strategies they used (and thought were effectiv...

5530 sym R (4215 sym/23 pcs) 1 img

across

05.03.2021

I have been playing with the new across() function in dplyr which is a magical solution when you are looking to get several summary statistic across a range of variables. BUT…. working out how to get those summary stats nicely formatted is a bit of a challenge, so I’ve also been looking at options from the skimr and tableone packages. my goa...

2213 sym R (2137 sym/13 pcs) 7 tbl

walking over palettes

18.03.2021

SO much procrasti-coding going on today. I have deadlines looming and admin tasks that I don’t want to do, so here I find myself trying to work out how to iterate across colour palettes to easily find the prettiest one. The coding is INDIRECTLY related to the talk I have to finish writing… so… here we go. my goal My goal is to work out how...

4204 sym R (3745 sym/17 pcs) 14 img

TidyTuesday: The Bechdel Test

11.06.2021

Tidy Tuesday: The Bechdel Test Jen Richmond 10/06/2021 This week I’ve been practicing my data viz with some Tidy Tuesday data. If you are looking for interesting datasets to try out your data viz skills on, the TidyTuesday repo is a really good place to start. Each week Tom Mock posts a dataset to the github repo, #rstats people from all over ...

9630 sym R (4404 sym/27 pcs) 11 img 1 tbl

os scoring

31.05.2021

load packages library(tidyverse) create fake data Use c() to make vectors of TRUE/FALSE (NOTE I think the code below would work the same if the values were 1, 0) # low items low1 <- c(T, T, T, T, F, F, T, F, T, F, T, T) low2 <- c(T, F, T, T, T, T, F, T, T, T, T, T) low3 <- c(F, T, T, T, F, T, T, F, F, T, T, T) # column bind low <- cbind(low1, l...

1276 sym R (5408 sym/15 pcs) 2 tbl

geom_point + geom_line

23.04.2021

load packages library(tidyverse) ## ── Attaching packages ─────────────────────────────────────── tidyverse 1.3.0 ── ## ✓ ggplot2 3.3.3 ✓ purrr 0.3.4 ## ✓ tibble 3.1.0 ✓ dplyr 1.0.5 ## ✓ tidyr 1.1.2 ✓ stringr 1.4.0 ## ✓ readr 1...

140 sym R (912 sym/9 pcs) 2 img

automagically reporting statistics with the report package

21.04.2021

It is all very well to be able to do stats in R, you also need to be able to write about them. I saw this intriguing tweet (have your joined twitter for the #rstats content yet?) today and thought I would try out the report() package. Often one needs to report statistical analysis in a publication/report, and formatting them manually can be tedi...

7468 sym R (7664 sym/31 pcs) 8 img 1 tbl

clean names

05.08.2021

We are learning about… the janitor package and the clean_names() function Jenny and Kate 05/08/2021 tell us The clean_names() function from the janitor package is my FAVOURITE function. Most of the time psychology R users don’t think very hard about what they are called variables when they enter their data. So when it gets into R, variable n...

2155 sym R (1879 sym/8 pcs)

pillar glimpse

05.08.2021

We are learning about… the pillar package and the glimpse() function Jenny and Kate 05/08/2021 tell us When we saw pillar::glimpse() in the list we thought that it was something that we hadn’t used before, BUT… turns out, the pillar package (which contains the glimpse() function is part of the tidyverse. The glimpse() function is SUPER use...

1046 sym R (1263 sym/10 pcs)

case_when

04.08.2021

I am learning about… case_when() Jen Richmond 03/08/2021 tell us case_when() is a super handy function from the dplyr package, which is part of the tidyverse. case_when() and mutate() are best friends and together to allow you to make a new variable that is based on conditions that are present in other variables. It is a bit like ifelse(), but...

3275 sym R (3071 sym/10 pcs) 2 img 1 tbl