2024-02-03

<p style-“font-size: 10px”>Horst AM, Hill AP, Gorman KB (2020). palmerpenguins: Palmer Archipelago (Antarctica) penguin data. R package version 0.1.0. </p>

Penguins Data Set

Three species of penguins, with data on beak length and depth, island it resides, gender ,year of study, flipper length, and body mass.

## # A tibble: 6 × 7
##   species island    bill_length_mm bill_depth_mm flipper_length_mm body_mass_g
##   <fct>   <fct>              <dbl>         <dbl>             <int>       <int>
## 1 Adelie  Torgersen           39.1          18.7               181        3750
## 2 Adelie  Torgersen           39.5          17.4               186        3800
## 3 Adelie  Torgersen           40.3          18                 195        3250
## 4 Adelie  Torgersen           NA            NA                  NA          NA
## 5 Adelie  Torgersen           36.7          19.3               193        3450
## 6 Adelie  Torgersen           39.3          20.6               190        3650
## # ℹ 1 more variable: sex <fct>

Bill Length and Body Mass

Observed is a correlation between bill length and mass of observed penguins.

Body Mass and Flipper Length

Model : \(Y = a+bX\)

Analysis

We see that Genutoo are the significantly larger than Adelie, and chinstrap Penguins.
However while chinstrap and Adelie have similar weight and fin length, chinstraps tend to have longer beaks.

Palmer Archipeligo

total mass of observed penguins per Island

Sex split in Penguins

ggplot(penguinsnoNA, aes(x = species, fill = sex))+
  geom_bar(position = "stack")+
  labs("Sex of penguins", "species", "count")

Weight Distribution between each sex of all Species

using the formula \(\frac{\sum_{}Xi}{n}\) we find the weight distribution as follows