Ben Harrap
  • Posts
  • Publications
  • CV
  • Contact
Categories
All (43)
academia (10)
code (5)
community (1)
conference (1)
consulting (1)
data (1)
design (4)
food (1)
joke (14)
phd (4)
programming (7)
quarto (3)
R (13)
research (9)
self (6)
SSA (1)
Stata (2)
statistics (2)
strings (1)
survey design (1)
work (1)

Posts

The role of perceived sandwich origin on gustatory satisfaction: a study protocol

research
I distinctly remember being a child and being very annoyed that no matter what I tried, I couldn’t make a sandwich that tasted as good as if my parents had made it for me. A…
Feb 8, 2026
Ben Harrap
 

Using R to extract results from Stata log files

R
Stata
programming
Taking results from Stata and inserting them into a report is a colossal pain in the ass, to put it mildly. There are a few custom commands out there, like baselinetable…
Feb 4, 2026
Ben Harrap
 

What is the sheep’s favourite graph?

joke
A baa plot
Nov 5, 2025
Ben Harrap

A new RStudio theme: Ghost Gum

code
R
design
So I took a picture more than a year ago. I took it because I liked the colour palette of these logs and thought it would make a nice RStudio theme. Well, over a year later…
Oct 31, 2025
Ben Harrap
 

How did the geologist carry their books to school?

joke
In their rocksack
Oct 30, 2025
Ben Harrap
 

What the hell is networking?

academia
work
community
At some point in your student life or early in your career, you’ll get advice telling you how important networking is. What they probably don’t go on to explain is what the…
Oct 29, 2025
Ben Harrap
 

I can only play in your back yard if you invite me in

academia
programming
statistics
I read a post called Statistics in the era of AI by Terry McGlynn. I hadn’t come across Terry before. He self-identifies as an ecologist and I have a lot of respect for…
Oct 10, 2025
Ben Harrap
 

Joining strings with missing data together in R

R
programming
strings
Joining multiple string columns together in R isn’t a particularly tricky thing to do. Until recently though, I found it unreasonably annoying trying to join strings where…
Sep 24, 2025
Ben Harrap
 

What did the doctor prescribe Dumbo to help with his pain?

joke
Elephentanyl
Aug 6, 2025
Ben Harrap
 

Why don’t statisticians like getting feedback?

joke
Because they’re always \(E[\bar{X}]\)
Jul 28, 2025
Ben Harrap
 

My gardener friend crossbred cauliflower and watermelon and it was the saddest plant I’ve ever seen

joke
They said it was a meloncauli
Jul 23, 2025
Ben Harrap
 

Not all missings are created equal

R
programming
I posted this question on Bluesky the other day, because I wasn’t sure whether a row-wise or column-wise solution would perform better for the problem I was trying to solve.
Jul 14, 2025
Ben Harrap
 

An R function for pronouns

R
programming
quarto
People can have pronouns that change over time or multiple pronouns, like myself. In an ideal world, I’d love it if people used a random pronoun each time, but people aren’t…
Jun 12, 2025
Ben Harrap
 

tidyverse functions you might not know about

R
programming
data
Sometimes you ask for help and people provide you with solutions using functions you didn’t know exist. That happened to me today and made me realise that I should look…
May 23, 2025
Ben Harrap
 

How did Francis pay for his ticket to heaven?

joke
Via PaPal
Apr 28, 2025
Ben Harrap
 

A big ask: doing literally anything apparently

self
academia
This blog post is about Significance magazine and the transphobic dumpster fire of an article they published in 2023. Over the last couple of years I’ve gone back and forth…
Mar 29, 2025
Ben Harrap
 

What makes a good variable naming convention

survey design
R
code
research
In particular, what makes a good variable naming convention for a longitudinal or panel survey? I wanted to answer this question so I could propose a good naming convention…
Mar 3, 2025
Ben Harrap
 

What did Euclid say when Dante asked about his bronzed complexion?

joke
tan cos sin
Feb 18, 2025
Ben Harrap
 

What did the psychic say before streaking across the pitch?

joke
All will be revealed
Feb 18, 2025
Ben Harrap
 

How can you tell that statisticians love Vietnamese food?

joke
They’re always talking about P(H0)
Feb 17, 2025
Ben Harrap

Switching from Stata to R

code
R
Stata
research
Making the transition from Stata to R can be challenging as the two languages are different in some fundamental ways. My initial training in biostatistics was using Stata…
Jan 10, 2025
Ben Harrap
 

Including your publications on your Quarto website

quarto
R
academia
In my efforts to continue to replicate my old website, I added a list of my publications. Read on if you’d like to do the same for your own Quarto website!
Dec 18, 2024
Ben Harrap
 

Migrating from blogdown/Hugo to Quarto

quarto
R
So my old website became too painful to keep updated thanks to version differences across the blogdown and Hugo system I was using, so I’ve migrated it to a Quarto website.…
Dec 16, 2024
Ben Harrap
 

Reflecting on my PhD experience

academia
self
phd
I submitted my PhD thesis nearly two months ago, and while I still have to wait for examiner feedback to claim that I’ve ‘finished’, I think I’ve sufficiently decompressed…
Aug 10, 2024
Ben Harrap
 

What did the pig get to help with their dry skin?

joke
An oinkment
Jul 10, 2024
Ben Harrap
 

Making a custom RStudio theme

R
programming
design
This is a re-post of my previous how-to on how to make custom RStudio themes. It unfortunately disappeared by accident as I migrated my site from Hugo/Blogdown to Quarto (it…
May 26, 2024
Ben Harrap

The Health of Aboriginal Children in Western Australia in the Context of the Child Protection System

MSPGH PhD Completion Seminar
academia
research
phd
I presented my PhD completion seminar to the Melbourne School of Population and Global Health on the 10th of May, 2024. I’ve included the recording of the seminar here and…
May 10, 2024
Ben Harrap

Two new RStudio themes

code
R
design
Sometimes you see a picture and think to yourself “oh I like the colour composition here”. Well when I think that, I also think “this would make a great RStudio theme”. So…
Apr 29, 2024
Ben Harrap
 

How did the vegetable gardener lower their taxable income?

joke
Celery sacrifice
Oct 20, 2023
Ben Harrap

Going to the ATSIMA 2023 conference

academia
conference
research
The Statistical Society of Australia (SSA) were advertising funding to support a member to attend this year’s Aboriginal and Torres Strait Islander Mathematics Alliance (ATSI…
Oct 9, 2023
Ben Harrap

A brief introduction to research for health professionals

Research on the Run 2021, Ballarat Health Services
research
consulting
I originally did this talk for Ballarat Health Services (now Grampians Health) back in 2021. I’d intended to upload the recording but unfortunately it didn’t materialise!…
Jul 17, 2023
Ben Harrap
 

What do you call music composed by apes?

joke
A chimphony
Nov 29, 2022
Ben Harrap
 

Further reflections on gender identity

self
It’s been quite a few months since I started thinking deeply about my own gender identity and not a week has gone by where I haven’t found myself pondering on it.
Mar 29, 2022
Ben Harrap

RMarkdown is great

research
code
R
The title says it all really. RMarkdown, along with bookdown, has made my life so much easier when it comes to writing up papers and reports. If you’re a non-R user I hope…
Feb 10, 2022
Ben Harrap
 

Why are cows bad at the tightrope?

joke
Because they lactose
Nov 29, 2021
Ben Harrap
 

What I Didn’t Learn at University

academia
I presented this talk at the Early Career and Student Statistician’s Conference in 2021. I found that while I learned a lot at university about statistics and data, I didn’t…
Aug 3, 2021
Ben Harrap
 

Thinking About Gender Identity

self
I thought I would gather my thoughts on my gender identity in this post. Partly for me to keep track of thoughts and feelings I’ve had, and partly in the hopes that it could…
Jul 30, 2021
Ben Harrap

The Health of Aboriginal Children in Western Australia and its Intersection with the Child Protection System

PhD Confirmation Report, May 2021
research
academia
phd
This is the report I prepared for my PhD confirmation on the 31st of May, 2021.
Jun 28, 2021
Ben Harrap
 

PhD Confirmation Presentation

research
academia
phd
This is the video recording of my PhD confirmation presentation delivered at the Centre for Epidemiology and Biostatistics, Melbourne School of Population and Global Health…
Jun 28, 2021
Ben Harrap

Basil Pesto

food
self
This basil pesto recipe is the result of me making pesto innumerable times and tweaking it each time until I got it just right. My goal was to make a pesto that tastes just…
Apr 24, 2021
Ben Harrap
 

Why was Christmas ruined for the Germans?

joke
Because all their cakes were stollen
Dec 3, 2020
Ben Harrap

Designing a t-shirt

design
statistics
SSA
Back in September 2020 I saw the Statistical Society of Australia (SSA) advertise a t-shirt competition. The competition was only open to members, with the winner of the…
Dec 2, 2020
Ben Harrap

Meet the dogs

self
My happy little family at home consists primarily of noodle horses, or greyhounds as they’re more commonly known. We’ve got two greyhounds - Randy (13) and Cheeky (9). We…
Dec 2, 2020
Ben Harrap
No matching items