How to fit different models on a dataset (the power of purrr)?

Published

September 14, 2020

The Problem

I wanted to fit multiple models on a dataset in R, and I had no idea how to do that efficiently. So, I turned to twitter and got an amazing reply:

Purrrfect!! Thank you Daniel.

A short screencast

I created a short tutorial to show the steps for fitting a model to multiple datasets or fitting multiple models to a single dataset:

Cat Bonus