14.1 Data: Palmer Penguins

There exist multiple penguin species throughout Antarctica, including the Adelie, Chinstrap, and Gentoo. When encountering one of these penguins on an Antarctic trip, we might classify its species

Y={AAdelieCChinstrapGGentoo

three species

X1 categorical variable: whether the penguin weighs more than the average 4200 grams

X1={1above-average weight0below-average weight

AKA culmen length and depth

numerical variables:

X2=bill length (mm)X3=flipper length (mm)

data(penguins_bayes)
penguins <- penguins_bayes

adelie_color = "#fb7504"
chinstrap_color = "#c65ccc"
gentoo_color = "#067476"

penguins %>% 
  tabyl(species)
##    species   n   percent
##     Adelie 152 0.4418605
##  Chinstrap  68 0.1976744
##     Gentoo 124 0.3604651