18.1 Introduction

In this chapter, we will follow along with the case example from Chapter 13 that examined attraction of satellite males to female horseshoe crabs.

We’ll work with some packages from the tidyverse, as well as the rstanarm, and loo packages. We’ll use the crabs data from the class data folder. You can go ahead and load those whenever you are ready to get started.

library(tidyverse)
library(rstanarm)
library(loo)