Explorativ dataanalys

R: Från datahantering till visualisering

“Let the data speak”

  • EDA (Exploratory Data Analysis/Explorativ data analys)
    • Myntat av John Tukey (1977).
    • Syftet är att utforska data – hitta mönster, outliers, distributioner
    • Hjälper oss ställa bättre frågor innan formell modellering.
    • Visuell, intuitiv, iterativ process.
    • Inga strikta regler, det är för att få en känsla av vad du kan förvänta dig av data

Typ av EDA

  • Univariat analys:
    • Förstå fördelningen/variation inom variabler
    • tex histogram, densitetskurvor och Q-Q-plots.
    • Medelvärde, median, standardavvikelse.
  • Bivariat analys:
    • Hitta kovarians mellan variabler
    • Sambandsanalyser som scatterplots och korrelationsmått.
    • Jämförelser mellan grupper, t.ex. med boxplots och violinplots.
  • Multivariat analys:
    • Mönster och relationer mellan flera variabler
    • Multivariata visualiseringar som dimensionreduktion (t.ex. PCA) och klustring (heatmaps, pairs plot).

Dataset: Pingvin-datasetet

  • Vi kommer att använda penguins-datasetet från paketet palmerpenguins.
  • Innehåller data om pingvinarter, öar, näbblängd, simfenslängd, kroppsmassa och kön.

Frågor

  • Börja med en fråga

  • Frågor föder ofta fler frågor

  • Iterativ process

  • Vilken variation finns inom variablerna

  • Vilken typ av kovarians finns mellan variablerna

  • Vilka skillnader finns mellan arterna?
  • Finns det överlapp mellan arter/öar/kön?
  • Vilken art är vanligast?
  • Finns det jämn fördelning mellan arterna på dom olika öarna?
  • Finns det extrema värden (outliers)?
  • Hur ser sambandet mellan variablerna ut?
  • Hur starkt är sambandet mellan näbblängd och simfenslängd, kroppsmassa?
  • Är förhållandet linjärt eller icke-linjärt?
  • Finns det variabler som påverkar relationen mellan andra variabler
  • Vilka variabler har saknade värden, finns det några mönster?
  • Vad sker över tid i en viss variabel, eller inom grupper av en viss variabel

Setup

library(palmerpenguins)
library(tidyverse)
library(gtsummary)
library(showtext)


font_add_google("Roboto", "roboto")
showtext_auto()


# Ändra tema
theme_set(
  theme_minimal(
    base_size = 20,
    base_family = "Roboto"
  ) +
    theme(
      panel.grid.minor = element_blank()
        )
)

Översiktstabell

Vad är medelvärdet och standardavvikelsen inom kön och art för olika numeriska variabler samt vad är distrubutionen i kategoriska variabler.

  • Skapa tabell med hjälp av tidyverse och gt paketet
penguins_summary <- penguins|> 
  group_by(species, sex)|> 
  summarize(
    bill_length_mm_mean = mean(bill_length_mm, na.rm = TRUE),
    bill_length_mm_sd   = sd(bill_length_mm, na.rm = TRUE),
    bill_depth_mm_mean  = mean(bill_depth_mm, na.rm = TRUE),
    bill_depth_mm_sd    = sd(bill_depth_mm, na.rm = TRUE),
    flipper_length_mm_mean = mean(flipper_length_mm, na.rm = TRUE),
    flipper_length_mm_sd   = sd(flipper_length_mm, na.rm = TRUE),
    body_mass_g_mean     = mean(body_mass_g, na.rm = TRUE),
    body_mass_g_sd       = sd(body_mass_g, na.rm = TRUE),
    n = n(),
    .groups = "drop"
  )|> 
  # Runda medelvärden och standardavvikelser till 1 decimal
  mutate(
    across(contains("_mean"), ~ round(.x, 1)),
    across(contains("_sd"), ~ round(.x, 1))
  )|> 
  # Byt namn på kolumnerna 
  rename(
    "Art"                        = species,
    "Kön"                        = sex,
    "Näbblängd (mm) Medel"       = bill_length_mm_mean,
    "Näbblängd (mm) SD"          = bill_length_mm_sd,
    "Näbbdjup (mm) Medel"        = bill_depth_mm_mean,
    "Näbbdjup (mm) SD"           = bill_depth_mm_sd,
    "Simfenslängd (mm) Medel"    = flipper_length_mm_mean,
    "Simfenslängd (mm) SD"       = flipper_length_mm_sd,
    "Kroppsvikt (g) Medel"       = body_mass_g_mean,
    "Kroppsvikt (g) SD"          = body_mass_g_sd,
    "Antal"                      = n
  )
penguins_summary
Art Kön Näbblängd (mm) Medel Näbblängd (mm) SD Näbbdjup (mm) Medel Näbbdjup (mm) SD Simfenslängd (mm) Medel Simfenslängd (mm) SD Kroppsvikt (g) Medel Kroppsvikt (g) SD Antal
Adelie female 37.3 2.0 17.6 0.9 187.8 5.6 3368.8 269.4 73
Adelie male 40.4 2.3 19.1 1.0 192.4 6.6 4043.5 346.8 73
Adelie NA 37.8 2.8 18.3 1.3 185.6 6.1 3540.0 477.2 6
Chinstrap female 46.6 3.1 17.6 0.8 191.7 5.8 3527.2 285.3 34
Chinstrap male 51.1 1.6 19.3 0.8 199.9 6.0 3939.0 362.1 34
Gentoo female 45.6 2.1 14.2 0.5 212.7 3.9 4679.7 281.6 58
Gentoo male 49.5 2.7 15.7 0.7 221.5 5.7 5484.8 313.2 61
Gentoo NA 45.6 1.4 14.6 0.8 215.8 1.3 4587.5 338.2 5
  • Använd gtsummary, library(gtsummary), för att skapa en tabell
# filtrera manligapingviner och skapa en tabell för dom
tbl_male <- penguins|> 
  filter(sex == "male")|> 
  tbl_summary(
    by = species,
    statistic = list(
      all_continuous() ~ "{mean} ({sd})",
      all_categorical() ~ "{n} ({p}%)"
    ),
    missing = "always"
  )|> 
  bold_labels()


# filtrera kvinligapingviner och skapa en tabell för dom
tbl_female <- penguins|> 
  filter(sex == "female")|> 
  tbl_summary(
    by = species,
    statistic = list(
      all_continuous() ~ "{mean} ({sd})",
      all_categorical() ~ "{n} ({p}%)"
    ),
    missing = "always"
  )|> 
  bold_labels()

# Sätta ihop tabellerna
tbl_merged <- tbl_merge(
  tbls = list(tbl_male, tbl_female),
  tab_spanner = c("**Male**", "**Female**")
)
tbl_merged
Characteristic
Male
Female
Adelie
N = 731
Chinstrap
N = 341
Gentoo
N = 611
Adelie
N = 731
Chinstrap
N = 341
Gentoo
N = 581
island





    Biscoe 22 (30%) 0 (0%) 61 (100%) 22 (30%) 0 (0%) 58 (100%)
    Dream 28 (38%) 34 (100%) 0 (0%) 27 (37%) 34 (100%) 0 (0%)
    Torgersen 23 (32%) 0 (0%) 0 (0%) 24 (33%) 0 (0%) 0 (0%)
    Unknown 0 0 0 0 0 0
bill_length_mm 40.4 (2.3) 51.1 (1.6) 49.5 (2.7) 37.3 (2.0) 46.6 (3.1) 45.6 (2.1)
    Unknown 0 0 0 0 0 0
bill_depth_mm 19.07 (1.02) 19.25 (0.76) 15.72 (0.74) 17.62 (0.94) 17.59 (0.78) 14.24 (0.54)
    Unknown 0 0 0 0 0 0
flipper_length_mm 192 (7) 200 (6) 222 (6) 188 (6) 192 (6) 213 (4)
    Unknown 0 0 0 0 0 0
body_mass_g 4,043 (347) 3,939 (362) 5,485 (313) 3,369 (269) 3,527 (285) 4,680 (282)
    Unknown 0 0 0 0 0 0
sex





    female 0 (0%) 0 (0%) 0 (0%) 73 (100%) 34 (100%) 58 (100%)
    male 73 (100%) 34 (100%) 61 (100%) 0 (0%) 0 (0%) 0 (0%)
    Unknown 0 0 0 0 0 0
year





    2007 22 (30%) 13 (38%) 17 (28%) 22 (30%) 13 (38%) 16 (28%)
    2008 25 (34%) 9 (26%) 23 (38%) 25 (34%) 9 (26%) 22 (38%)
    2009 26 (36%) 12 (35%) 21 (34%) 26 (36%) 12 (35%) 20 (34%)
    Unknown 0 0 0 0 0 0
1 n (%); Mean (SD)

Univariat analys

  • vad är distrubutionen av olika variabler
penguins_long_c <- penguins |> 
   select(where(is.factor)) |> 
  pivot_longer(cols = c(everything()), 
               names_to = "variable", 
               values_to = "category")

penguins_long_c |> 
  ggplot(aes(y = category)) +
  geom_bar() +
  facet_wrap(~variable, scales = "free")

penguins|> 
  filter(!is.na(bill_length_mm))|> 
  ggplot(aes(x = bill_length_mm)) +
  geom_histogram(binwidth = 2, fill = "steelblue", color = "white") 

penguins |> 
  filter(!is.na(bill_depth_mm)) |> 
  ggplot(aes(x = bill_depth_mm)) +
  geom_density(fill = "gold3", color = "gold4", alpha = 0.7) 

penguins_long <- penguins |> 
   select(where(is.numeric)) |> 
  pivot_longer(cols = everything(), 
               names_to = "variable", 
               values_to = "value")


penguins_long |> 
  ggplot(aes(x = value)) +
  geom_density(fill = "indianred", alpha = 0.7)  +
  facet_wrap(~ variable, scales = "free") +
  labs(
    title = "Histogram över kontinuerliga variabler i penguins-datat",
    x = "Värde",
    y = "Densitet"
  )

ggplot(data = penguins_long, 
       aes(
           y = value)) +
  geom_boxplot()  +
  facet_wrap(~ variable, scales = "free")

library(patchwork)

# Skapa histogram
hist_plot <- penguins |> 
  filter(!is.na(flipper_length_mm)) |> 
  ggplot(aes(x = flipper_length_mm)) +
  geom_histogram(binwidth = 5, fill = "steelblue", color = "white") +
  labs(
    title = "Histogram över Simmfenslängd"
  )

# Skapa Q-Q-plot
qq_plot <- penguins|> 
  filter(!is.na(flipper_length_mm))|> 
  ggplot(aes(sample = flipper_length_mm)) +
  geom_qq(color = "navy") +
  geom_qq_line(color = "red") +
  labs(
    title = "Q-Q-plot för Simmfenslängd",
    x = "Teoretiska kvintiler",
    y = "Verkliga kvantiler"
  )

# Kombinera med patchwork
hist_plot + qq_plot

Bivariat analys

  • Hur ser distributionen ut i olika grupper av variabler

  • Finns det samband mellan variabler

Vi vill se distributioner av bill length, bill depth och body mass i olika arter.

  1. Data i långt format
penguins_long <- penguins |> 
   select(where(is.numeric), species) |> 
  pivot_longer(cols = c(everything(), -species), 
               names_to = "variable", 
               values_to = "value")

penguins_long
species variable value
Adelie bill_length_mm 39.1
Adelie bill_depth_mm 18.7
Adelie flipper_length_mm 181.0
Adelie body_mass_g 3750.0
Adelie year 2007.0
Adelie bill_length_mm 39.5
Adelie bill_depth_mm 17.4
Adelie flipper_length_mm 186.0
Adelie body_mass_g 3800.0
Adelie year 2007.0
Adelie bill_length_mm 40.3
Adelie bill_depth_mm 18.0
Adelie flipper_length_mm 195.0
Adelie body_mass_g 3250.0
Adelie year 2007.0
Adelie bill_length_mm NA
Adelie bill_depth_mm NA
Adelie flipper_length_mm NA
Adelie body_mass_g NA
Adelie year 2007.0
Adelie bill_length_mm 36.7
Adelie bill_depth_mm 19.3
Adelie flipper_length_mm 193.0
Adelie body_mass_g 3450.0
Adelie year 2007.0
Adelie bill_length_mm 39.3
Adelie bill_depth_mm 20.6
Adelie flipper_length_mm 190.0
Adelie body_mass_g 3650.0
Adelie year 2007.0
Adelie bill_length_mm 38.9
Adelie bill_depth_mm 17.8
Adelie flipper_length_mm 181.0
Adelie body_mass_g 3625.0
Adelie year 2007.0
Adelie bill_length_mm 39.2
Adelie bill_depth_mm 19.6
Adelie flipper_length_mm 195.0
Adelie body_mass_g 4675.0
Adelie year 2007.0
Adelie bill_length_mm 34.1
Adelie bill_depth_mm 18.1
Adelie flipper_length_mm 193.0
Adelie body_mass_g 3475.0
Adelie year 2007.0
Adelie bill_length_mm 42.0
Adelie bill_depth_mm 20.2
Adelie flipper_length_mm 190.0
Adelie body_mass_g 4250.0
Adelie year 2007.0
Adelie bill_length_mm 37.8
Adelie bill_depth_mm 17.1
Adelie flipper_length_mm 186.0
Adelie body_mass_g 3300.0
Adelie year 2007.0
Adelie bill_length_mm 37.8
Adelie bill_depth_mm 17.3
Adelie flipper_length_mm 180.0
Adelie body_mass_g 3700.0
Adelie year 2007.0
Adelie bill_length_mm 41.1
Adelie bill_depth_mm 17.6
Adelie flipper_length_mm 182.0
Adelie body_mass_g 3200.0
Adelie year 2007.0
Adelie bill_length_mm 38.6
Adelie bill_depth_mm 21.2
Adelie flipper_length_mm 191.0
Adelie body_mass_g 3800.0
Adelie year 2007.0
Adelie bill_length_mm 34.6
Adelie bill_depth_mm 21.1
Adelie flipper_length_mm 198.0
Adelie body_mass_g 4400.0
Adelie year 2007.0
Adelie bill_length_mm 36.6
Adelie bill_depth_mm 17.8
Adelie flipper_length_mm 185.0
Adelie body_mass_g 3700.0
Adelie year 2007.0
Adelie bill_length_mm 38.7
Adelie bill_depth_mm 19.0
Adelie flipper_length_mm 195.0
Adelie body_mass_g 3450.0
Adelie year 2007.0
Adelie bill_length_mm 42.5
Adelie bill_depth_mm 20.7
Adelie flipper_length_mm 197.0
Adelie body_mass_g 4500.0
Adelie year 2007.0
Adelie bill_length_mm 34.4
Adelie bill_depth_mm 18.4
Adelie flipper_length_mm 184.0
Adelie body_mass_g 3325.0
Adelie year 2007.0
Adelie bill_length_mm 46.0
Adelie bill_depth_mm 21.5
Adelie flipper_length_mm 194.0
Adelie body_mass_g 4200.0
Adelie year 2007.0
Adelie bill_length_mm 37.8
Adelie bill_depth_mm 18.3
Adelie flipper_length_mm 174.0
Adelie body_mass_g 3400.0
Adelie year 2007.0
Adelie bill_length_mm 37.7
Adelie bill_depth_mm 18.7
Adelie flipper_length_mm 180.0
Adelie body_mass_g 3600.0
Adelie year 2007.0
Adelie bill_length_mm 35.9
Adelie bill_depth_mm 19.2
Adelie flipper_length_mm 189.0
Adelie body_mass_g 3800.0
Adelie year 2007.0
Adelie bill_length_mm 38.2
Adelie bill_depth_mm 18.1
Adelie flipper_length_mm 185.0
Adelie body_mass_g 3950.0
Adelie year 2007.0
Adelie bill_length_mm 38.8
Adelie bill_depth_mm 17.2
Adelie flipper_length_mm 180.0
Adelie body_mass_g 3800.0
Adelie year 2007.0
Adelie bill_length_mm 35.3
Adelie bill_depth_mm 18.9
Adelie flipper_length_mm 187.0
Adelie body_mass_g 3800.0
Adelie year 2007.0
Adelie bill_length_mm 40.6
Adelie bill_depth_mm 18.6
Adelie flipper_length_mm 183.0
Adelie body_mass_g 3550.0
Adelie year 2007.0
Adelie bill_length_mm 40.5
Adelie bill_depth_mm 17.9
Adelie flipper_length_mm 187.0
Adelie body_mass_g 3200.0
Adelie year 2007.0
Adelie bill_length_mm 37.9
Adelie bill_depth_mm 18.6
Adelie flipper_length_mm 172.0
Adelie body_mass_g 3150.0
Adelie year 2007.0
Adelie bill_length_mm 40.5
Adelie bill_depth_mm 18.9
Adelie flipper_length_mm 180.0
Adelie body_mass_g 3950.0
Adelie year 2007.0
Adelie bill_length_mm 39.5
Adelie bill_depth_mm 16.7
Adelie flipper_length_mm 178.0
Adelie body_mass_g 3250.0
Adelie year 2007.0
Adelie bill_length_mm 37.2
Adelie bill_depth_mm 18.1
Adelie flipper_length_mm 178.0
Adelie body_mass_g 3900.0
Adelie year 2007.0
Adelie bill_length_mm 39.5
Adelie bill_depth_mm 17.8
Adelie flipper_length_mm 188.0
Adelie body_mass_g 3300.0
Adelie year 2007.0
Adelie bill_length_mm 40.9
Adelie bill_depth_mm 18.9
Adelie flipper_length_mm 184.0
Adelie body_mass_g 3900.0
Adelie year 2007.0
Adelie bill_length_mm 36.4
Adelie bill_depth_mm 17.0
Adelie flipper_length_mm 195.0
Adelie body_mass_g 3325.0
Adelie year 2007.0
Adelie bill_length_mm 39.2
Adelie bill_depth_mm 21.1
Adelie flipper_length_mm 196.0
Adelie body_mass_g 4150.0
Adelie year 2007.0
Adelie bill_length_mm 38.8
Adelie bill_depth_mm 20.0
Adelie flipper_length_mm 190.0
Adelie body_mass_g 3950.0
Adelie year 2007.0
Adelie bill_length_mm 42.2
Adelie bill_depth_mm 18.5
Adelie flipper_length_mm 180.0
Adelie body_mass_g 3550.0
Adelie year 2007.0
Adelie bill_length_mm 37.6
Adelie bill_depth_mm 19.3
Adelie flipper_length_mm 181.0
Adelie body_mass_g 3300.0
Adelie year 2007.0
Adelie bill_length_mm 39.8
Adelie bill_depth_mm 19.1
Adelie flipper_length_mm 184.0
Adelie body_mass_g 4650.0
Adelie year 2007.0
Adelie bill_length_mm 36.5
Adelie bill_depth_mm 18.0
Adelie flipper_length_mm 182.0
Adelie body_mass_g 3150.0
Adelie year 2007.0
Adelie bill_length_mm 40.8
Adelie bill_depth_mm 18.4
Adelie flipper_length_mm 195.0
Adelie body_mass_g 3900.0
Adelie year 2007.0
Adelie bill_length_mm 36.0
Adelie bill_depth_mm 18.5
Adelie flipper_length_mm 186.0
Adelie body_mass_g 3100.0
Adelie year 2007.0
Adelie bill_length_mm 44.1
Adelie bill_depth_mm 19.7
Adelie flipper_length_mm 196.0
Adelie body_mass_g 4400.0
Adelie year 2007.0
Adelie bill_length_mm 37.0
Adelie bill_depth_mm 16.9
Adelie flipper_length_mm 185.0
Adelie body_mass_g 3000.0
Adelie year 2007.0
Adelie bill_length_mm 39.6
Adelie bill_depth_mm 18.8
Adelie flipper_length_mm 190.0
Adelie body_mass_g 4600.0
Adelie year 2007.0
Adelie bill_length_mm 41.1
Adelie bill_depth_mm 19.0
Adelie flipper_length_mm 182.0
Adelie body_mass_g 3425.0
Adelie year 2007.0
Adelie bill_length_mm 37.5
Adelie bill_depth_mm 18.9
Adelie flipper_length_mm 179.0
Adelie body_mass_g 2975.0
Adelie year 2007.0
Adelie bill_length_mm 36.0
Adelie bill_depth_mm 17.9
Adelie flipper_length_mm 190.0
Adelie body_mass_g 3450.0
Adelie year 2007.0
Adelie bill_length_mm 42.3
Adelie bill_depth_mm 21.2
Adelie flipper_length_mm 191.0
Adelie body_mass_g 4150.0
Adelie year 2007.0
Adelie bill_length_mm 39.6
Adelie bill_depth_mm 17.7
Adelie flipper_length_mm 186.0
Adelie body_mass_g 3500.0
Adelie year 2008.0
Adelie bill_length_mm 40.1
Adelie bill_depth_mm 18.9
Adelie flipper_length_mm 188.0
Adelie body_mass_g 4300.0
Adelie year 2008.0
Adelie bill_length_mm 35.0
Adelie bill_depth_mm 17.9
Adelie flipper_length_mm 190.0
Adelie body_mass_g 3450.0
Adelie year 2008.0
Adelie bill_length_mm 42.0
Adelie bill_depth_mm 19.5
Adelie flipper_length_mm 200.0
Adelie body_mass_g 4050.0
Adelie year 2008.0
Adelie bill_length_mm 34.5
Adelie bill_depth_mm 18.1
Adelie flipper_length_mm 187.0
Adelie body_mass_g 2900.0
Adelie year 2008.0
Adelie bill_length_mm 41.4
Adelie bill_depth_mm 18.6
Adelie flipper_length_mm 191.0
Adelie body_mass_g 3700.0
Adelie year 2008.0
Adelie bill_length_mm 39.0
Adelie bill_depth_mm 17.5
Adelie flipper_length_mm 186.0
Adelie body_mass_g 3550.0
Adelie year 2008.0
Adelie bill_length_mm 40.6
Adelie bill_depth_mm 18.8
Adelie flipper_length_mm 193.0
Adelie body_mass_g 3800.0
Adelie year 2008.0
Adelie bill_length_mm 36.5
Adelie bill_depth_mm 16.6
Adelie flipper_length_mm 181.0
Adelie body_mass_g 2850.0
Adelie year 2008.0
Adelie bill_length_mm 37.6
Adelie bill_depth_mm 19.1
Adelie flipper_length_mm 194.0
Adelie body_mass_g 3750.0
Adelie year 2008.0
Adelie bill_length_mm 35.7
Adelie bill_depth_mm 16.9
Adelie flipper_length_mm 185.0
Adelie body_mass_g 3150.0
Adelie year 2008.0
Adelie bill_length_mm 41.3
Adelie bill_depth_mm 21.1
Adelie flipper_length_mm 195.0
Adelie body_mass_g 4400.0
Adelie year 2008.0
Adelie bill_length_mm 37.6
Adelie bill_depth_mm 17.0
Adelie flipper_length_mm 185.0
Adelie body_mass_g 3600.0
Adelie year 2008.0
Adelie bill_length_mm 41.1
Adelie bill_depth_mm 18.2
Adelie flipper_length_mm 192.0
Adelie body_mass_g 4050.0
Adelie year 2008.0
Adelie bill_length_mm 36.4
Adelie bill_depth_mm 17.1
Adelie flipper_length_mm 184.0
Adelie body_mass_g 2850.0
Adelie year 2008.0
Adelie bill_length_mm 41.6
Adelie bill_depth_mm 18.0
Adelie flipper_length_mm 192.0
Adelie body_mass_g 3950.0
Adelie year 2008.0
Adelie bill_length_mm 35.5
Adelie bill_depth_mm 16.2
Adelie flipper_length_mm 195.0
Adelie body_mass_g 3350.0
Adelie year 2008.0
Adelie bill_length_mm 41.1
Adelie bill_depth_mm 19.1
Adelie flipper_length_mm 188.0
Adelie body_mass_g 4100.0
Adelie year 2008.0
Adelie bill_length_mm 35.9
Adelie bill_depth_mm 16.6
Adelie flipper_length_mm 190.0
Adelie body_mass_g 3050.0
Adelie year 2008.0
Adelie bill_length_mm 41.8
Adelie bill_depth_mm 19.4
Adelie flipper_length_mm 198.0
Adelie body_mass_g 4450.0
Adelie year 2008.0
Adelie bill_length_mm 33.5
Adelie bill_depth_mm 19.0
Adelie flipper_length_mm 190.0
Adelie body_mass_g 3600.0
Adelie year 2008.0
Adelie bill_length_mm 39.7
Adelie bill_depth_mm 18.4
Adelie flipper_length_mm 190.0
Adelie body_mass_g 3900.0
Adelie year 2008.0
Adelie bill_length_mm 39.6
Adelie bill_depth_mm 17.2
Adelie flipper_length_mm 196.0
Adelie body_mass_g 3550.0
Adelie year 2008.0
Adelie bill_length_mm 45.8
Adelie bill_depth_mm 18.9
Adelie flipper_length_mm 197.0
Adelie body_mass_g 4150.0
Adelie year 2008.0
Adelie bill_length_mm 35.5
Adelie bill_depth_mm 17.5
Adelie flipper_length_mm 190.0
Adelie body_mass_g 3700.0
Adelie year 2008.0
Adelie bill_length_mm 42.8
Adelie bill_depth_mm 18.5
Adelie flipper_length_mm 195.0
Adelie body_mass_g 4250.0
Adelie year 2008.0
Adelie bill_length_mm 40.9
Adelie bill_depth_mm 16.8
Adelie flipper_length_mm 191.0
Adelie body_mass_g 3700.0
Adelie year 2008.0
Adelie bill_length_mm 37.2
Adelie bill_depth_mm 19.4
Adelie flipper_length_mm 184.0
Adelie body_mass_g 3900.0
Adelie year 2008.0
Adelie bill_length_mm 36.2
Adelie bill_depth_mm 16.1
Adelie flipper_length_mm 187.0
Adelie body_mass_g 3550.0
Adelie year 2008.0
Adelie bill_length_mm 42.1
Adelie bill_depth_mm 19.1
Adelie flipper_length_mm 195.0
Adelie body_mass_g 4000.0
Adelie year 2008.0
Adelie bill_length_mm 34.6
Adelie bill_depth_mm 17.2
Adelie flipper_length_mm 189.0
Adelie body_mass_g 3200.0
Adelie year 2008.0
Adelie bill_length_mm 42.9
Adelie bill_depth_mm 17.6
Adelie flipper_length_mm 196.0
Adelie body_mass_g 4700.0
Adelie year 2008.0
Adelie bill_length_mm 36.7
Adelie bill_depth_mm 18.8
Adelie flipper_length_mm 187.0
Adelie body_mass_g 3800.0
Adelie year 2008.0
Adelie bill_length_mm 35.1
Adelie bill_depth_mm 19.4
Adelie flipper_length_mm 193.0
Adelie body_mass_g 4200.0
Adelie year 2008.0
Adelie bill_length_mm 37.3
Adelie bill_depth_mm 17.8
Adelie flipper_length_mm 191.0
Adelie body_mass_g 3350.0
Adelie year 2008.0
Adelie bill_length_mm 41.3
Adelie bill_depth_mm 20.3
Adelie flipper_length_mm 194.0
Adelie body_mass_g 3550.0
Adelie year 2008.0
Adelie bill_length_mm 36.3
Adelie bill_depth_mm 19.5
Adelie flipper_length_mm 190.0
Adelie body_mass_g 3800.0
Adelie year 2008.0
Adelie bill_length_mm 36.9
Adelie bill_depth_mm 18.6
Adelie flipper_length_mm 189.0
Adelie body_mass_g 3500.0
Adelie year 2008.0
Adelie bill_length_mm 38.3
Adelie bill_depth_mm 19.2
Adelie flipper_length_mm 189.0
Adelie body_mass_g 3950.0
Adelie year 2008.0
Adelie bill_length_mm 38.9
Adelie bill_depth_mm 18.8
Adelie flipper_length_mm 190.0
Adelie body_mass_g 3600.0
Adelie year 2008.0
Adelie bill_length_mm 35.7
Adelie bill_depth_mm 18.0
Adelie flipper_length_mm 202.0
Adelie body_mass_g 3550.0
Adelie year 2008.0
Adelie bill_length_mm 41.1
Adelie bill_depth_mm 18.1
Adelie flipper_length_mm 205.0
Adelie body_mass_g 4300.0
Adelie year 2008.0
Adelie bill_length_mm 34.0
Adelie bill_depth_mm 17.1
Adelie flipper_length_mm 185.0
Adelie body_mass_g 3400.0
Adelie year 2008.0
Adelie bill_length_mm 39.6
Adelie bill_depth_mm 18.1
Adelie flipper_length_mm 186.0
Adelie body_mass_g 4450.0
Adelie year 2008.0
Adelie bill_length_mm 36.2
Adelie bill_depth_mm 17.3
Adelie flipper_length_mm 187.0
Adelie body_mass_g 3300.0
Adelie year 2008.0
Adelie bill_length_mm 40.8
Adelie bill_depth_mm 18.9
Adelie flipper_length_mm 208.0
Adelie body_mass_g 4300.0
Adelie year 2008.0
Adelie bill_length_mm 38.1
Adelie bill_depth_mm 18.6
Adelie flipper_length_mm 190.0
Adelie body_mass_g 3700.0
Adelie year 2008.0
Adelie bill_length_mm 40.3
Adelie bill_depth_mm 18.5
Adelie flipper_length_mm 196.0
Adelie body_mass_g 4350.0
Adelie year 2008.0
Adelie bill_length_mm 33.1
Adelie bill_depth_mm 16.1
Adelie flipper_length_mm 178.0
Adelie body_mass_g 2900.0
Adelie year 2008.0
Adelie bill_length_mm 43.2
Adelie bill_depth_mm 18.5
Adelie flipper_length_mm 192.0
Adelie body_mass_g 4100.0
Adelie year 2008.0
Adelie bill_length_mm 35.0
Adelie bill_depth_mm 17.9
Adelie flipper_length_mm 192.0
Adelie body_mass_g 3725.0
Adelie year 2009.0
Adelie bill_length_mm 41.0
Adelie bill_depth_mm 20.0
Adelie flipper_length_mm 203.0
Adelie body_mass_g 4725.0
Adelie year 2009.0
Adelie bill_length_mm 37.7
Adelie bill_depth_mm 16.0
Adelie flipper_length_mm 183.0
Adelie body_mass_g 3075.0
Adelie year 2009.0
Adelie bill_length_mm 37.8
Adelie bill_depth_mm 20.0
Adelie flipper_length_mm 190.0
Adelie body_mass_g 4250.0
Adelie year 2009.0
Adelie bill_length_mm 37.9
Adelie bill_depth_mm 18.6
Adelie flipper_length_mm 193.0
Adelie body_mass_g 2925.0
Adelie year 2009.0
Adelie bill_length_mm 39.7
Adelie bill_depth_mm 18.9
Adelie flipper_length_mm 184.0
Adelie body_mass_g 3550.0
Adelie year 2009.0
Adelie bill_length_mm 38.6
Adelie bill_depth_mm 17.2
Adelie flipper_length_mm 199.0
Adelie body_mass_g 3750.0
Adelie year 2009.0
Adelie bill_length_mm 38.2
Adelie bill_depth_mm 20.0
Adelie flipper_length_mm 190.0
Adelie body_mass_g 3900.0
Adelie year 2009.0
Adelie bill_length_mm 38.1
Adelie bill_depth_mm 17.0
Adelie flipper_length_mm 181.0
Adelie body_mass_g 3175.0
Adelie year 2009.0
Adelie bill_length_mm 43.2
Adelie bill_depth_mm 19.0
Adelie flipper_length_mm 197.0
Adelie body_mass_g 4775.0
Adelie year 2009.0
Adelie bill_length_mm 38.1
Adelie bill_depth_mm 16.5
Adelie flipper_length_mm 198.0
Adelie body_mass_g 3825.0
Adelie year 2009.0
Adelie bill_length_mm 45.6
Adelie bill_depth_mm 20.3
Adelie flipper_length_mm 191.0
Adelie body_mass_g 4600.0
Adelie year 2009.0
Adelie bill_length_mm 39.7
Adelie bill_depth_mm 17.7
Adelie flipper_length_mm 193.0
Adelie body_mass_g 3200.0
Adelie year 2009.0
Adelie bill_length_mm 42.2
Adelie bill_depth_mm 19.5
Adelie flipper_length_mm 197.0
Adelie body_mass_g 4275.0
Adelie year 2009.0
Adelie bill_length_mm 39.6
Adelie bill_depth_mm 20.7
Adelie flipper_length_mm 191.0
Adelie body_mass_g 3900.0
Adelie year 2009.0
Adelie bill_length_mm 42.7
Adelie bill_depth_mm 18.3
Adelie flipper_length_mm 196.0
Adelie body_mass_g 4075.0
Adelie year 2009.0
Adelie bill_length_mm 38.6
Adelie bill_depth_mm 17.0
Adelie flipper_length_mm 188.0
Adelie body_mass_g 2900.0
Adelie year 2009.0
Adelie bill_length_mm 37.3
Adelie bill_depth_mm 20.5
Adelie flipper_length_mm 199.0
Adelie body_mass_g 3775.0
Adelie year 2009.0
Adelie bill_length_mm 35.7
Adelie bill_depth_mm 17.0
Adelie flipper_length_mm 189.0
Adelie body_mass_g 3350.0
Adelie year 2009.0
Adelie bill_length_mm 41.1
Adelie bill_depth_mm 18.6
Adelie flipper_length_mm 189.0
Adelie body_mass_g 3325.0
Adelie year 2009.0
Adelie bill_length_mm 36.2
Adelie bill_depth_mm 17.2
Adelie flipper_length_mm 187.0
Adelie body_mass_g 3150.0
Adelie year 2009.0
Adelie bill_length_mm 37.7
Adelie bill_depth_mm 19.8
Adelie flipper_length_mm 198.0
Adelie body_mass_g 3500.0
Adelie year 2009.0
Adelie bill_length_mm 40.2
Adelie bill_depth_mm 17.0
Adelie flipper_length_mm 176.0
Adelie body_mass_g 3450.0
Adelie year 2009.0
Adelie bill_length_mm 41.4
Adelie bill_depth_mm 18.5
Adelie flipper_length_mm 202.0
Adelie body_mass_g 3875.0
Adelie year 2009.0
Adelie bill_length_mm 35.2
Adelie bill_depth_mm 15.9
Adelie flipper_length_mm 186.0
Adelie body_mass_g 3050.0
Adelie year 2009.0
Adelie bill_length_mm 40.6
Adelie bill_depth_mm 19.0
Adelie flipper_length_mm 199.0
Adelie body_mass_g 4000.0
Adelie year 2009.0
Adelie bill_length_mm 38.8
Adelie bill_depth_mm 17.6
Adelie flipper_length_mm 191.0
Adelie body_mass_g 3275.0
Adelie year 2009.0
Adelie bill_length_mm 41.5
Adelie bill_depth_mm 18.3
Adelie flipper_length_mm 195.0
Adelie body_mass_g 4300.0
Adelie year 2009.0
Adelie bill_length_mm 39.0
Adelie bill_depth_mm 17.1
Adelie flipper_length_mm 191.0
Adelie body_mass_g 3050.0
Adelie year 2009.0
Adelie bill_length_mm 44.1
Adelie bill_depth_mm 18.0
Adelie flipper_length_mm 210.0
Adelie body_mass_g 4000.0
Adelie year 2009.0
Adelie bill_length_mm 38.5
Adelie bill_depth_mm 17.9
Adelie flipper_length_mm 190.0
Adelie body_mass_g 3325.0
Adelie year 2009.0
Adelie bill_length_mm 43.1
Adelie bill_depth_mm 19.2
Adelie flipper_length_mm 197.0
Adelie body_mass_g 3500.0
Adelie year 2009.0
Adelie bill_length_mm 36.8
Adelie bill_depth_mm 18.5
Adelie flipper_length_mm 193.0
Adelie body_mass_g 3500.0
Adelie year 2009.0
Adelie bill_length_mm 37.5
Adelie bill_depth_mm 18.5
Adelie flipper_length_mm 199.0
Adelie body_mass_g 4475.0
Adelie year 2009.0
Adelie bill_length_mm 38.1
Adelie bill_depth_mm 17.6
Adelie flipper_length_mm 187.0
Adelie body_mass_g 3425.0
Adelie year 2009.0
Adelie bill_length_mm 41.1
Adelie bill_depth_mm 17.5
Adelie flipper_length_mm 190.0
Adelie body_mass_g 3900.0
Adelie year 2009.0
Adelie bill_length_mm 35.6
Adelie bill_depth_mm 17.5
Adelie flipper_length_mm 191.0
Adelie body_mass_g 3175.0
Adelie year 2009.0
Adelie bill_length_mm 40.2
Adelie bill_depth_mm 20.1
Adelie flipper_length_mm 200.0
Adelie body_mass_g 3975.0
Adelie year 2009.0
Adelie bill_length_mm 37.0
Adelie bill_depth_mm 16.5
Adelie flipper_length_mm 185.0
Adelie body_mass_g 3400.0
Adelie year 2009.0
Adelie bill_length_mm 39.7
Adelie bill_depth_mm 17.9
Adelie flipper_length_mm 193.0
Adelie body_mass_g 4250.0
Adelie year 2009.0
Adelie bill_length_mm 40.2
Adelie bill_depth_mm 17.1
Adelie flipper_length_mm 193.0
Adelie body_mass_g 3400.0
Adelie year 2009.0
Adelie bill_length_mm 40.6
Adelie bill_depth_mm 17.2
Adelie flipper_length_mm 187.0
Adelie body_mass_g 3475.0
Adelie year 2009.0
Adelie bill_length_mm 32.1
Adelie bill_depth_mm 15.5
Adelie flipper_length_mm 188.0
Adelie body_mass_g 3050.0
Adelie year 2009.0
Adelie bill_length_mm 40.7
Adelie bill_depth_mm 17.0
Adelie flipper_length_mm 190.0
Adelie body_mass_g 3725.0
Adelie year 2009.0
Adelie bill_length_mm 37.3
Adelie bill_depth_mm 16.8
Adelie flipper_length_mm 192.0
Adelie body_mass_g 3000.0
Adelie year 2009.0
Adelie bill_length_mm 39.0
Adelie bill_depth_mm 18.7
Adelie flipper_length_mm 185.0
Adelie body_mass_g 3650.0
Adelie year 2009.0
Adelie bill_length_mm 39.2
Adelie bill_depth_mm 18.6
Adelie flipper_length_mm 190.0
Adelie body_mass_g 4250.0
Adelie year 2009.0
Adelie bill_length_mm 36.6
Adelie bill_depth_mm 18.4
Adelie flipper_length_mm 184.0
Adelie body_mass_g 3475.0
Adelie year 2009.0
Adelie bill_length_mm 36.0
Adelie bill_depth_mm 17.8
Adelie flipper_length_mm 195.0
Adelie body_mass_g 3450.0
Adelie year 2009.0
Adelie bill_length_mm 37.8
Adelie bill_depth_mm 18.1
Adelie flipper_length_mm 193.0
Adelie body_mass_g 3750.0
Adelie year 2009.0
Adelie bill_length_mm 36.0
Adelie bill_depth_mm 17.1
Adelie flipper_length_mm 187.0
Adelie body_mass_g 3700.0
Adelie year 2009.0
Adelie bill_length_mm 41.5
Adelie bill_depth_mm 18.5
Adelie flipper_length_mm 201.0
Adelie body_mass_g 4000.0
Adelie year 2009.0
Gentoo bill_length_mm 46.1
Gentoo bill_depth_mm 13.2
Gentoo flipper_length_mm 211.0
Gentoo body_mass_g 4500.0
Gentoo year 2007.0
Gentoo bill_length_mm 50.0
Gentoo bill_depth_mm 16.3
Gentoo flipper_length_mm 230.0
Gentoo body_mass_g 5700.0
Gentoo year 2007.0
Gentoo bill_length_mm 48.7
Gentoo bill_depth_mm 14.1
Gentoo flipper_length_mm 210.0
Gentoo body_mass_g 4450.0
Gentoo year 2007.0
Gentoo bill_length_mm 50.0
Gentoo bill_depth_mm 15.2
Gentoo flipper_length_mm 218.0
Gentoo body_mass_g 5700.0
Gentoo year 2007.0
Gentoo bill_length_mm 47.6
Gentoo bill_depth_mm 14.5
Gentoo flipper_length_mm 215.0
Gentoo body_mass_g 5400.0
Gentoo year 2007.0
Gentoo bill_length_mm 46.5
Gentoo bill_depth_mm 13.5
Gentoo flipper_length_mm 210.0
Gentoo body_mass_g 4550.0
Gentoo year 2007.0
Gentoo bill_length_mm 45.4
Gentoo bill_depth_mm 14.6
Gentoo flipper_length_mm 211.0
Gentoo body_mass_g 4800.0
Gentoo year 2007.0
Gentoo bill_length_mm 46.7
Gentoo bill_depth_mm 15.3
Gentoo flipper_length_mm 219.0
Gentoo body_mass_g 5200.0
Gentoo year 2007.0
Gentoo bill_length_mm 43.3
Gentoo bill_depth_mm 13.4
Gentoo flipper_length_mm 209.0
Gentoo body_mass_g 4400.0
Gentoo year 2007.0
Gentoo bill_length_mm 46.8
Gentoo bill_depth_mm 15.4
Gentoo flipper_length_mm 215.0
Gentoo body_mass_g 5150.0
Gentoo year 2007.0
Gentoo bill_length_mm 40.9
Gentoo bill_depth_mm 13.7
Gentoo flipper_length_mm 214.0
Gentoo body_mass_g 4650.0
Gentoo year 2007.0
Gentoo bill_length_mm 49.0
Gentoo bill_depth_mm 16.1
Gentoo flipper_length_mm 216.0
Gentoo body_mass_g 5550.0
Gentoo year 2007.0
Gentoo bill_length_mm 45.5
Gentoo bill_depth_mm 13.7
Gentoo flipper_length_mm 214.0
Gentoo body_mass_g 4650.0
Gentoo year 2007.0
Gentoo bill_length_mm 48.4
Gentoo bill_depth_mm 14.6
Gentoo flipper_length_mm 213.0
Gentoo body_mass_g 5850.0
Gentoo year 2007.0
Gentoo bill_length_mm 45.8
Gentoo bill_depth_mm 14.6
Gentoo flipper_length_mm 210.0
Gentoo body_mass_g 4200.0
Gentoo year 2007.0
Gentoo bill_length_mm 49.3
Gentoo bill_depth_mm 15.7
Gentoo flipper_length_mm 217.0
Gentoo body_mass_g 5850.0
Gentoo year 2007.0
Gentoo bill_length_mm 42.0
Gentoo bill_depth_mm 13.5
Gentoo flipper_length_mm 210.0
Gentoo body_mass_g 4150.0
Gentoo year 2007.0
Gentoo bill_length_mm 49.2
Gentoo bill_depth_mm 15.2
Gentoo flipper_length_mm 221.0
Gentoo body_mass_g 6300.0
Gentoo year 2007.0
Gentoo bill_length_mm 46.2
Gentoo bill_depth_mm 14.5
Gentoo flipper_length_mm 209.0
Gentoo body_mass_g 4800.0
Gentoo year 2007.0
Gentoo bill_length_mm 48.7
Gentoo bill_depth_mm 15.1
Gentoo flipper_length_mm 222.0
Gentoo body_mass_g 5350.0
Gentoo year 2007.0
Gentoo bill_length_mm 50.2
Gentoo bill_depth_mm 14.3
Gentoo flipper_length_mm 218.0
Gentoo body_mass_g 5700.0
Gentoo year 2007.0
Gentoo bill_length_mm 45.1
Gentoo bill_depth_mm 14.5
Gentoo flipper_length_mm 215.0
Gentoo body_mass_g 5000.0
Gentoo year 2007.0
Gentoo bill_length_mm 46.5
Gentoo bill_depth_mm 14.5
Gentoo flipper_length_mm 213.0
Gentoo body_mass_g 4400.0
Gentoo year 2007.0
Gentoo bill_length_mm 46.3
Gentoo bill_depth_mm 15.8
Gentoo flipper_length_mm 215.0
Gentoo body_mass_g 5050.0
Gentoo year 2007.0
Gentoo bill_length_mm 42.9
Gentoo bill_depth_mm 13.1
Gentoo flipper_length_mm 215.0
Gentoo body_mass_g 5000.0
Gentoo year 2007.0
Gentoo bill_length_mm 46.1
Gentoo bill_depth_mm 15.1
Gentoo flipper_length_mm 215.0
Gentoo body_mass_g 5100.0
Gentoo year 2007.0
Gentoo bill_length_mm 44.5
Gentoo bill_depth_mm 14.3
Gentoo flipper_length_mm 216.0
Gentoo body_mass_g 4100.0
Gentoo year 2007.0
Gentoo bill_length_mm 47.8
Gentoo bill_depth_mm 15.0
Gentoo flipper_length_mm 215.0
Gentoo body_mass_g 5650.0
Gentoo year 2007.0
Gentoo bill_length_mm 48.2
Gentoo bill_depth_mm 14.3
Gentoo flipper_length_mm 210.0
Gentoo body_mass_g 4600.0
Gentoo year 2007.0
Gentoo bill_length_mm 50.0
Gentoo bill_depth_mm 15.3
Gentoo flipper_length_mm 220.0
Gentoo body_mass_g 5550.0
Gentoo year 2007.0
Gentoo bill_length_mm 47.3
Gentoo bill_depth_mm 15.3
Gentoo flipper_length_mm 222.0
Gentoo body_mass_g 5250.0
Gentoo year 2007.0
Gentoo bill_length_mm 42.8
Gentoo bill_depth_mm 14.2
Gentoo flipper_length_mm 209.0
Gentoo body_mass_g 4700.0
Gentoo year 2007.0
Gentoo bill_length_mm 45.1
Gentoo bill_depth_mm 14.5
Gentoo flipper_length_mm 207.0
Gentoo body_mass_g 5050.0
Gentoo year 2007.0
Gentoo bill_length_mm 59.6
Gentoo bill_depth_mm 17.0
Gentoo flipper_length_mm 230.0
Gentoo body_mass_g 6050.0
Gentoo year 2007.0
Gentoo bill_length_mm 49.1
Gentoo bill_depth_mm 14.8
Gentoo flipper_length_mm 220.0
Gentoo body_mass_g 5150.0
Gentoo year 2008.0
Gentoo bill_length_mm 48.4
Gentoo bill_depth_mm 16.3
Gentoo flipper_length_mm 220.0
Gentoo body_mass_g 5400.0
Gentoo year 2008.0
Gentoo bill_length_mm 42.6
Gentoo bill_depth_mm 13.7
Gentoo flipper_length_mm 213.0
Gentoo body_mass_g 4950.0
Gentoo year 2008.0
Gentoo bill_length_mm 44.4
Gentoo bill_depth_mm 17.3
Gentoo flipper_length_mm 219.0
Gentoo body_mass_g 5250.0
Gentoo year 2008.0
Gentoo bill_length_mm 44.0
Gentoo bill_depth_mm 13.6
Gentoo flipper_length_mm 208.0
Gentoo body_mass_g 4350.0
Gentoo year 2008.0
Gentoo bill_length_mm 48.7
Gentoo bill_depth_mm 15.7
Gentoo flipper_length_mm 208.0
Gentoo body_mass_g 5350.0
Gentoo year 2008.0
Gentoo bill_length_mm 42.7
Gentoo bill_depth_mm 13.7
Gentoo flipper_length_mm 208.0
Gentoo body_mass_g 3950.0
Gentoo year 2008.0
Gentoo bill_length_mm 49.6
Gentoo bill_depth_mm 16.0
Gentoo flipper_length_mm 225.0
Gentoo body_mass_g 5700.0
Gentoo year 2008.0
Gentoo bill_length_mm 45.3
Gentoo bill_depth_mm 13.7
Gentoo flipper_length_mm 210.0
Gentoo body_mass_g 4300.0
Gentoo year 2008.0
Gentoo bill_length_mm 49.6
Gentoo bill_depth_mm 15.0
Gentoo flipper_length_mm 216.0
Gentoo body_mass_g 4750.0
Gentoo year 2008.0
Gentoo bill_length_mm 50.5
Gentoo bill_depth_mm 15.9
Gentoo flipper_length_mm 222.0
Gentoo body_mass_g 5550.0
Gentoo year 2008.0
Gentoo bill_length_mm 43.6
Gentoo bill_depth_mm 13.9
Gentoo flipper_length_mm 217.0
Gentoo body_mass_g 4900.0
Gentoo year 2008.0
Gentoo bill_length_mm 45.5
Gentoo bill_depth_mm 13.9
Gentoo flipper_length_mm 210.0
Gentoo body_mass_g 4200.0
Gentoo year 2008.0
Gentoo bill_length_mm 50.5
Gentoo bill_depth_mm 15.9
Gentoo flipper_length_mm 225.0
Gentoo body_mass_g 5400.0
Gentoo year 2008.0
Gentoo bill_length_mm 44.9
Gentoo bill_depth_mm 13.3
Gentoo flipper_length_mm 213.0
Gentoo body_mass_g 5100.0
Gentoo year 2008.0
Gentoo bill_length_mm 45.2
Gentoo bill_depth_mm 15.8
Gentoo flipper_length_mm 215.0
Gentoo body_mass_g 5300.0
Gentoo year 2008.0
Gentoo bill_length_mm 46.6
Gentoo bill_depth_mm 14.2
Gentoo flipper_length_mm 210.0
Gentoo body_mass_g 4850.0
Gentoo year 2008.0
Gentoo bill_length_mm 48.5
Gentoo bill_depth_mm 14.1
Gentoo flipper_length_mm 220.0
Gentoo body_mass_g 5300.0
Gentoo year 2008.0
Gentoo bill_length_mm 45.1
Gentoo bill_depth_mm 14.4
Gentoo flipper_length_mm 210.0
Gentoo body_mass_g 4400.0
Gentoo year 2008.0
Gentoo bill_length_mm 50.1
Gentoo bill_depth_mm 15.0
Gentoo flipper_length_mm 225.0
Gentoo body_mass_g 5000.0
Gentoo year 2008.0
Gentoo bill_length_mm 46.5
Gentoo bill_depth_mm 14.4
Gentoo flipper_length_mm 217.0
Gentoo body_mass_g 4900.0
Gentoo year 2008.0
Gentoo bill_length_mm 45.0
Gentoo bill_depth_mm 15.4
Gentoo flipper_length_mm 220.0
Gentoo body_mass_g 5050.0
Gentoo year 2008.0
Gentoo bill_length_mm 43.8
Gentoo bill_depth_mm 13.9
Gentoo flipper_length_mm 208.0
Gentoo body_mass_g 4300.0
Gentoo year 2008.0
Gentoo bill_length_mm 45.5
Gentoo bill_depth_mm 15.0
Gentoo flipper_length_mm 220.0
Gentoo body_mass_g 5000.0
Gentoo year 2008.0
Gentoo bill_length_mm 43.2
Gentoo bill_depth_mm 14.5
Gentoo flipper_length_mm 208.0
Gentoo body_mass_g 4450.0
Gentoo year 2008.0
Gentoo bill_length_mm 50.4
Gentoo bill_depth_mm 15.3
Gentoo flipper_length_mm 224.0
Gentoo body_mass_g 5550.0
Gentoo year 2008.0
Gentoo bill_length_mm 45.3
Gentoo bill_depth_mm 13.8
Gentoo flipper_length_mm 208.0
Gentoo body_mass_g 4200.0
Gentoo year 2008.0
Gentoo bill_length_mm 46.2
Gentoo bill_depth_mm 14.9
Gentoo flipper_length_mm 221.0
Gentoo body_mass_g 5300.0
Gentoo year 2008.0
Gentoo bill_length_mm 45.7
Gentoo bill_depth_mm 13.9
Gentoo flipper_length_mm 214.0
Gentoo body_mass_g 4400.0
Gentoo year 2008.0
Gentoo bill_length_mm 54.3
Gentoo bill_depth_mm 15.7
Gentoo flipper_length_mm 231.0
Gentoo body_mass_g 5650.0
Gentoo year 2008.0
Gentoo bill_length_mm 45.8
Gentoo bill_depth_mm 14.2
Gentoo flipper_length_mm 219.0
Gentoo body_mass_g 4700.0
Gentoo year 2008.0
Gentoo bill_length_mm 49.8
Gentoo bill_depth_mm 16.8
Gentoo flipper_length_mm 230.0
Gentoo body_mass_g 5700.0
Gentoo year 2008.0
Gentoo bill_length_mm 46.2
Gentoo bill_depth_mm 14.4
Gentoo flipper_length_mm 214.0
Gentoo body_mass_g 4650.0
Gentoo year 2008.0
Gentoo bill_length_mm 49.5
Gentoo bill_depth_mm 16.2
Gentoo flipper_length_mm 229.0
Gentoo body_mass_g 5800.0
Gentoo year 2008.0
Gentoo bill_length_mm 43.5
Gentoo bill_depth_mm 14.2
Gentoo flipper_length_mm 220.0
Gentoo body_mass_g 4700.0
Gentoo year 2008.0
Gentoo bill_length_mm 50.7
Gentoo bill_depth_mm 15.0
Gentoo flipper_length_mm 223.0
Gentoo body_mass_g 5550.0
Gentoo year 2008.0
Gentoo bill_length_mm 47.7
Gentoo bill_depth_mm 15.0
Gentoo flipper_length_mm 216.0
Gentoo body_mass_g 4750.0
Gentoo year 2008.0
Gentoo bill_length_mm 46.4
Gentoo bill_depth_mm 15.6
Gentoo flipper_length_mm 221.0
Gentoo body_mass_g 5000.0
Gentoo year 2008.0
Gentoo bill_length_mm 48.2
Gentoo bill_depth_mm 15.6
Gentoo flipper_length_mm 221.0
Gentoo body_mass_g 5100.0
Gentoo year 2008.0
Gentoo bill_length_mm 46.5
Gentoo bill_depth_mm 14.8
Gentoo flipper_length_mm 217.0
Gentoo body_mass_g 5200.0
Gentoo year 2008.0
Gentoo bill_length_mm 46.4
Gentoo bill_depth_mm 15.0
Gentoo flipper_length_mm 216.0
Gentoo body_mass_g 4700.0
Gentoo year 2008.0
Gentoo bill_length_mm 48.6
Gentoo bill_depth_mm 16.0
Gentoo flipper_length_mm 230.0
Gentoo body_mass_g 5800.0
Gentoo year 2008.0
Gentoo bill_length_mm 47.5
Gentoo bill_depth_mm 14.2
Gentoo flipper_length_mm 209.0
Gentoo body_mass_g 4600.0
Gentoo year 2008.0
Gentoo bill_length_mm 51.1
Gentoo bill_depth_mm 16.3
Gentoo flipper_length_mm 220.0
Gentoo body_mass_g 6000.0
Gentoo year 2008.0
Gentoo bill_length_mm 45.2
Gentoo bill_depth_mm 13.8
Gentoo flipper_length_mm 215.0
Gentoo body_mass_g 4750.0
Gentoo year 2008.0
Gentoo bill_length_mm 45.2
Gentoo bill_depth_mm 16.4
Gentoo flipper_length_mm 223.0
Gentoo body_mass_g 5950.0
Gentoo year 2008.0
Gentoo bill_length_mm 49.1
Gentoo bill_depth_mm 14.5
Gentoo flipper_length_mm 212.0
Gentoo body_mass_g 4625.0
Gentoo year 2009.0
Gentoo bill_length_mm 52.5
Gentoo bill_depth_mm 15.6
Gentoo flipper_length_mm 221.0
Gentoo body_mass_g 5450.0
Gentoo year 2009.0
Gentoo bill_length_mm 47.4
Gentoo bill_depth_mm 14.6
Gentoo flipper_length_mm 212.0
Gentoo body_mass_g 4725.0
Gentoo year 2009.0
Gentoo bill_length_mm 50.0
Gentoo bill_depth_mm 15.9
Gentoo flipper_length_mm 224.0
Gentoo body_mass_g 5350.0
Gentoo year 2009.0
Gentoo bill_length_mm 44.9
Gentoo bill_depth_mm 13.8
Gentoo flipper_length_mm 212.0
Gentoo body_mass_g 4750.0
Gentoo year 2009.0
Gentoo bill_length_mm 50.8
Gentoo bill_depth_mm 17.3
Gentoo flipper_length_mm 228.0
Gentoo body_mass_g 5600.0
Gentoo year 2009.0
Gentoo bill_length_mm 43.4
Gentoo bill_depth_mm 14.4
Gentoo flipper_length_mm 218.0
Gentoo body_mass_g 4600.0
Gentoo year 2009.0
Gentoo bill_length_mm 51.3
Gentoo bill_depth_mm 14.2
Gentoo flipper_length_mm 218.0
Gentoo body_mass_g 5300.0
Gentoo year 2009.0
Gentoo bill_length_mm 47.5
Gentoo bill_depth_mm 14.0
Gentoo flipper_length_mm 212.0
Gentoo body_mass_g 4875.0
Gentoo year 2009.0
Gentoo bill_length_mm 52.1
Gentoo bill_depth_mm 17.0
Gentoo flipper_length_mm 230.0
Gentoo body_mass_g 5550.0
Gentoo year 2009.0
Gentoo bill_length_mm 47.5
Gentoo bill_depth_mm 15.0
Gentoo flipper_length_mm 218.0
Gentoo body_mass_g 4950.0
Gentoo year 2009.0
Gentoo bill_length_mm 52.2
Gentoo bill_depth_mm 17.1
Gentoo flipper_length_mm 228.0
Gentoo body_mass_g 5400.0
Gentoo year 2009.0
Gentoo bill_length_mm 45.5
Gentoo bill_depth_mm 14.5
Gentoo flipper_length_mm 212.0
Gentoo body_mass_g 4750.0
Gentoo year 2009.0
Gentoo bill_length_mm 49.5
Gentoo bill_depth_mm 16.1
Gentoo flipper_length_mm 224.0
Gentoo body_mass_g 5650.0
Gentoo year 2009.0
Gentoo bill_length_mm 44.5
Gentoo bill_depth_mm 14.7
Gentoo flipper_length_mm 214.0
Gentoo body_mass_g 4850.0
Gentoo year 2009.0
Gentoo bill_length_mm 50.8
Gentoo bill_depth_mm 15.7
Gentoo flipper_length_mm 226.0
Gentoo body_mass_g 5200.0
Gentoo year 2009.0
Gentoo bill_length_mm 49.4
Gentoo bill_depth_mm 15.8
Gentoo flipper_length_mm 216.0
Gentoo body_mass_g 4925.0
Gentoo year 2009.0
Gentoo bill_length_mm 46.9
Gentoo bill_depth_mm 14.6
Gentoo flipper_length_mm 222.0
Gentoo body_mass_g 4875.0
Gentoo year 2009.0
Gentoo bill_length_mm 48.4
Gentoo bill_depth_mm 14.4
Gentoo flipper_length_mm 203.0
Gentoo body_mass_g 4625.0
Gentoo year 2009.0
Gentoo bill_length_mm 51.1
Gentoo bill_depth_mm 16.5
Gentoo flipper_length_mm 225.0
Gentoo body_mass_g 5250.0
Gentoo year 2009.0
Gentoo bill_length_mm 48.5
Gentoo bill_depth_mm 15.0
Gentoo flipper_length_mm 219.0
Gentoo body_mass_g 4850.0
Gentoo year 2009.0
Gentoo bill_length_mm 55.9
Gentoo bill_depth_mm 17.0
Gentoo flipper_length_mm 228.0
Gentoo body_mass_g 5600.0
Gentoo year 2009.0
Gentoo bill_length_mm 47.2
Gentoo bill_depth_mm 15.5
Gentoo flipper_length_mm 215.0
Gentoo body_mass_g 4975.0
Gentoo year 2009.0
Gentoo bill_length_mm 49.1
Gentoo bill_depth_mm 15.0
Gentoo flipper_length_mm 228.0
Gentoo body_mass_g 5500.0
Gentoo year 2009.0
Gentoo bill_length_mm 47.3
Gentoo bill_depth_mm 13.8
Gentoo flipper_length_mm 216.0
Gentoo body_mass_g 4725.0
Gentoo year 2009.0
Gentoo bill_length_mm 46.8
Gentoo bill_depth_mm 16.1
Gentoo flipper_length_mm 215.0
Gentoo body_mass_g 5500.0
Gentoo year 2009.0
Gentoo bill_length_mm 41.7
Gentoo bill_depth_mm 14.7
Gentoo flipper_length_mm 210.0
Gentoo body_mass_g 4700.0
Gentoo year 2009.0
Gentoo bill_length_mm 53.4
Gentoo bill_depth_mm 15.8
Gentoo flipper_length_mm 219.0
Gentoo body_mass_g 5500.0
Gentoo year 2009.0
Gentoo bill_length_mm 43.3
Gentoo bill_depth_mm 14.0
Gentoo flipper_length_mm 208.0
Gentoo body_mass_g 4575.0
Gentoo year 2009.0
Gentoo bill_length_mm 48.1
Gentoo bill_depth_mm 15.1
Gentoo flipper_length_mm 209.0
Gentoo body_mass_g 5500.0
Gentoo year 2009.0
Gentoo bill_length_mm 50.5
Gentoo bill_depth_mm 15.2
Gentoo flipper_length_mm 216.0
Gentoo body_mass_g 5000.0
Gentoo year 2009.0
Gentoo bill_length_mm 49.8
Gentoo bill_depth_mm 15.9
Gentoo flipper_length_mm 229.0
Gentoo body_mass_g 5950.0
Gentoo year 2009.0
Gentoo bill_length_mm 43.5
Gentoo bill_depth_mm 15.2
Gentoo flipper_length_mm 213.0
Gentoo body_mass_g 4650.0
Gentoo year 2009.0
Gentoo bill_length_mm 51.5
Gentoo bill_depth_mm 16.3
Gentoo flipper_length_mm 230.0
Gentoo body_mass_g 5500.0
Gentoo year 2009.0
Gentoo bill_length_mm 46.2
Gentoo bill_depth_mm 14.1
Gentoo flipper_length_mm 217.0
Gentoo body_mass_g 4375.0
Gentoo year 2009.0
Gentoo bill_length_mm 55.1
Gentoo bill_depth_mm 16.0
Gentoo flipper_length_mm 230.0
Gentoo body_mass_g 5850.0
Gentoo year 2009.0
Gentoo bill_length_mm 44.5
Gentoo bill_depth_mm 15.7
Gentoo flipper_length_mm 217.0
Gentoo body_mass_g 4875.0
Gentoo year 2009.0
Gentoo bill_length_mm 48.8
Gentoo bill_depth_mm 16.2
Gentoo flipper_length_mm 222.0
Gentoo body_mass_g 6000.0
Gentoo year 2009.0
Gentoo bill_length_mm 47.2
Gentoo bill_depth_mm 13.7
Gentoo flipper_length_mm 214.0
Gentoo body_mass_g 4925.0
Gentoo year 2009.0
Gentoo bill_length_mm NA
Gentoo bill_depth_mm NA
Gentoo flipper_length_mm NA
Gentoo body_mass_g NA
Gentoo year 2009.0
Gentoo bill_length_mm 46.8
Gentoo bill_depth_mm 14.3
Gentoo flipper_length_mm 215.0
Gentoo body_mass_g 4850.0
Gentoo year 2009.0
Gentoo bill_length_mm 50.4
Gentoo bill_depth_mm 15.7
Gentoo flipper_length_mm 222.0
Gentoo body_mass_g 5750.0
Gentoo year 2009.0
Gentoo bill_length_mm 45.2
Gentoo bill_depth_mm 14.8
Gentoo flipper_length_mm 212.0
Gentoo body_mass_g 5200.0
Gentoo year 2009.0
Gentoo bill_length_mm 49.9
Gentoo bill_depth_mm 16.1
Gentoo flipper_length_mm 213.0
Gentoo body_mass_g 5400.0
Gentoo year 2009.0
Chinstrap bill_length_mm 46.5
Chinstrap bill_depth_mm 17.9
Chinstrap flipper_length_mm 192.0
Chinstrap body_mass_g 3500.0
Chinstrap year 2007.0
Chinstrap bill_length_mm 50.0
Chinstrap bill_depth_mm 19.5
Chinstrap flipper_length_mm 196.0
Chinstrap body_mass_g 3900.0
Chinstrap year 2007.0
Chinstrap bill_length_mm 51.3
Chinstrap bill_depth_mm 19.2
Chinstrap flipper_length_mm 193.0
Chinstrap body_mass_g 3650.0
Chinstrap year 2007.0
Chinstrap bill_length_mm 45.4
Chinstrap bill_depth_mm 18.7
Chinstrap flipper_length_mm 188.0
Chinstrap body_mass_g 3525.0
Chinstrap year 2007.0
Chinstrap bill_length_mm 52.7
Chinstrap bill_depth_mm 19.8
Chinstrap flipper_length_mm 197.0
Chinstrap body_mass_g 3725.0
Chinstrap year 2007.0
Chinstrap bill_length_mm 45.2
Chinstrap bill_depth_mm 17.8
Chinstrap flipper_length_mm 198.0
Chinstrap body_mass_g 3950.0
Chinstrap year 2007.0
Chinstrap bill_length_mm 46.1
Chinstrap bill_depth_mm 18.2
Chinstrap flipper_length_mm 178.0
Chinstrap body_mass_g 3250.0
Chinstrap year 2007.0
Chinstrap bill_length_mm 51.3
Chinstrap bill_depth_mm 18.2
Chinstrap flipper_length_mm 197.0
Chinstrap body_mass_g 3750.0
Chinstrap year 2007.0
Chinstrap bill_length_mm 46.0
Chinstrap bill_depth_mm 18.9
Chinstrap flipper_length_mm 195.0
Chinstrap body_mass_g 4150.0
Chinstrap year 2007.0
Chinstrap bill_length_mm 51.3
Chinstrap bill_depth_mm 19.9
Chinstrap flipper_length_mm 198.0
Chinstrap body_mass_g 3700.0
Chinstrap year 2007.0
Chinstrap bill_length_mm 46.6
Chinstrap bill_depth_mm 17.8
Chinstrap flipper_length_mm 193.0
Chinstrap body_mass_g 3800.0
Chinstrap year 2007.0
Chinstrap bill_length_mm 51.7
Chinstrap bill_depth_mm 20.3
Chinstrap flipper_length_mm 194.0
Chinstrap body_mass_g 3775.0
Chinstrap year 2007.0
Chinstrap bill_length_mm 47.0
Chinstrap bill_depth_mm 17.3
Chinstrap flipper_length_mm 185.0
Chinstrap body_mass_g 3700.0
Chinstrap year 2007.0
Chinstrap bill_length_mm 52.0
Chinstrap bill_depth_mm 18.1
Chinstrap flipper_length_mm 201.0
Chinstrap body_mass_g 4050.0
Chinstrap year 2007.0
Chinstrap bill_length_mm 45.9
Chinstrap bill_depth_mm 17.1
Chinstrap flipper_length_mm 190.0
Chinstrap body_mass_g 3575.0
Chinstrap year 2007.0
Chinstrap bill_length_mm 50.5
Chinstrap bill_depth_mm 19.6
Chinstrap flipper_length_mm 201.0
Chinstrap body_mass_g 4050.0
Chinstrap year 2007.0
Chinstrap bill_length_mm 50.3
Chinstrap bill_depth_mm 20.0
Chinstrap flipper_length_mm 197.0
Chinstrap body_mass_g 3300.0
Chinstrap year 2007.0
Chinstrap bill_length_mm 58.0
Chinstrap bill_depth_mm 17.8
Chinstrap flipper_length_mm 181.0
Chinstrap body_mass_g 3700.0
Chinstrap year 2007.0
Chinstrap bill_length_mm 46.4
Chinstrap bill_depth_mm 18.6
Chinstrap flipper_length_mm 190.0
Chinstrap body_mass_g 3450.0
Chinstrap year 2007.0
Chinstrap bill_length_mm 49.2
Chinstrap bill_depth_mm 18.2
Chinstrap flipper_length_mm 195.0
Chinstrap body_mass_g 4400.0
Chinstrap year 2007.0
Chinstrap bill_length_mm 42.4
Chinstrap bill_depth_mm 17.3
Chinstrap flipper_length_mm 181.0
Chinstrap body_mass_g 3600.0
Chinstrap year 2007.0
Chinstrap bill_length_mm 48.5
Chinstrap bill_depth_mm 17.5
Chinstrap flipper_length_mm 191.0
Chinstrap body_mass_g 3400.0
Chinstrap year 2007.0
Chinstrap bill_length_mm 43.2
Chinstrap bill_depth_mm 16.6
Chinstrap flipper_length_mm 187.0
Chinstrap body_mass_g 2900.0
Chinstrap year 2007.0
Chinstrap bill_length_mm 50.6
Chinstrap bill_depth_mm 19.4
Chinstrap flipper_length_mm 193.0
Chinstrap body_mass_g 3800.0
Chinstrap year 2007.0
Chinstrap bill_length_mm 46.7
Chinstrap bill_depth_mm 17.9
Chinstrap flipper_length_mm 195.0
Chinstrap body_mass_g 3300.0
Chinstrap year 2007.0
Chinstrap bill_length_mm 52.0
Chinstrap bill_depth_mm 19.0
Chinstrap flipper_length_mm 197.0
Chinstrap body_mass_g 4150.0
Chinstrap year 2007.0
Chinstrap bill_length_mm 50.5
Chinstrap bill_depth_mm 18.4
Chinstrap flipper_length_mm 200.0
Chinstrap body_mass_g 3400.0
Chinstrap year 2008.0
Chinstrap bill_length_mm 49.5
Chinstrap bill_depth_mm 19.0
Chinstrap flipper_length_mm 200.0
Chinstrap body_mass_g 3800.0
Chinstrap year 2008.0
Chinstrap bill_length_mm 46.4
Chinstrap bill_depth_mm 17.8
Chinstrap flipper_length_mm 191.0
Chinstrap body_mass_g 3700.0
Chinstrap year 2008.0
Chinstrap bill_length_mm 52.8
Chinstrap bill_depth_mm 20.0
Chinstrap flipper_length_mm 205.0
Chinstrap body_mass_g 4550.0
Chinstrap year 2008.0
Chinstrap bill_length_mm 40.9
Chinstrap bill_depth_mm 16.6
Chinstrap flipper_length_mm 187.0
Chinstrap body_mass_g 3200.0
Chinstrap year 2008.0
Chinstrap bill_length_mm 54.2
Chinstrap bill_depth_mm 20.8
Chinstrap flipper_length_mm 201.0
Chinstrap body_mass_g 4300.0
Chinstrap year 2008.0
Chinstrap bill_length_mm 42.5
Chinstrap bill_depth_mm 16.7
Chinstrap flipper_length_mm 187.0
Chinstrap body_mass_g 3350.0
Chinstrap year 2008.0
Chinstrap bill_length_mm 51.0
Chinstrap bill_depth_mm 18.8
Chinstrap flipper_length_mm 203.0
Chinstrap body_mass_g 4100.0
Chinstrap year 2008.0
Chinstrap bill_length_mm 49.7
Chinstrap bill_depth_mm 18.6
Chinstrap flipper_length_mm 195.0
Chinstrap body_mass_g 3600.0
Chinstrap year 2008.0
Chinstrap bill_length_mm 47.5
Chinstrap bill_depth_mm 16.8
Chinstrap flipper_length_mm 199.0
Chinstrap body_mass_g 3900.0
Chinstrap year 2008.0
Chinstrap bill_length_mm 47.6
Chinstrap bill_depth_mm 18.3
Chinstrap flipper_length_mm 195.0
Chinstrap body_mass_g 3850.0
Chinstrap year 2008.0
Chinstrap bill_length_mm 52.0
Chinstrap bill_depth_mm 20.7
Chinstrap flipper_length_mm 210.0
Chinstrap body_mass_g 4800.0
Chinstrap year 2008.0
Chinstrap bill_length_mm 46.9
Chinstrap bill_depth_mm 16.6
Chinstrap flipper_length_mm 192.0
Chinstrap body_mass_g 2700.0
Chinstrap year 2008.0
Chinstrap bill_length_mm 53.5
Chinstrap bill_depth_mm 19.9
Chinstrap flipper_length_mm 205.0
Chinstrap body_mass_g 4500.0
Chinstrap year 2008.0
Chinstrap bill_length_mm 49.0
Chinstrap bill_depth_mm 19.5
Chinstrap flipper_length_mm 210.0
Chinstrap body_mass_g 3950.0
Chinstrap year 2008.0
Chinstrap bill_length_mm 46.2
Chinstrap bill_depth_mm 17.5
Chinstrap flipper_length_mm 187.0
Chinstrap body_mass_g 3650.0
Chinstrap year 2008.0
Chinstrap bill_length_mm 50.9
Chinstrap bill_depth_mm 19.1
Chinstrap flipper_length_mm 196.0
Chinstrap body_mass_g 3550.0
Chinstrap year 2008.0
Chinstrap bill_length_mm 45.5
Chinstrap bill_depth_mm 17.0
Chinstrap flipper_length_mm 196.0
Chinstrap body_mass_g 3500.0
Chinstrap year 2008.0
Chinstrap bill_length_mm 50.9
Chinstrap bill_depth_mm 17.9
Chinstrap flipper_length_mm 196.0
Chinstrap body_mass_g 3675.0
Chinstrap year 2009.0
Chinstrap bill_length_mm 50.8
Chinstrap bill_depth_mm 18.5
Chinstrap flipper_length_mm 201.0
Chinstrap body_mass_g 4450.0
Chinstrap year 2009.0
Chinstrap bill_length_mm 50.1
Chinstrap bill_depth_mm 17.9
Chinstrap flipper_length_mm 190.0
Chinstrap body_mass_g 3400.0
Chinstrap year 2009.0
Chinstrap bill_length_mm 49.0
Chinstrap bill_depth_mm 19.6
Chinstrap flipper_length_mm 212.0
Chinstrap body_mass_g 4300.0
Chinstrap year 2009.0
Chinstrap bill_length_mm 51.5
Chinstrap bill_depth_mm 18.7
Chinstrap flipper_length_mm 187.0
Chinstrap body_mass_g 3250.0
Chinstrap year 2009.0
Chinstrap bill_length_mm 49.8
Chinstrap bill_depth_mm 17.3
Chinstrap flipper_length_mm 198.0
Chinstrap body_mass_g 3675.0
Chinstrap year 2009.0
Chinstrap bill_length_mm 48.1
Chinstrap bill_depth_mm 16.4
Chinstrap flipper_length_mm 199.0
Chinstrap body_mass_g 3325.0
Chinstrap year 2009.0
Chinstrap bill_length_mm 51.4
Chinstrap bill_depth_mm 19.0
Chinstrap flipper_length_mm 201.0
Chinstrap body_mass_g 3950.0
Chinstrap year 2009.0
Chinstrap bill_length_mm 45.7
Chinstrap bill_depth_mm 17.3
Chinstrap flipper_length_mm 193.0
Chinstrap body_mass_g 3600.0
Chinstrap year 2009.0
Chinstrap bill_length_mm 50.7
Chinstrap bill_depth_mm 19.7
Chinstrap flipper_length_mm 203.0
Chinstrap body_mass_g 4050.0
Chinstrap year 2009.0
Chinstrap bill_length_mm 42.5
Chinstrap bill_depth_mm 17.3
Chinstrap flipper_length_mm 187.0
Chinstrap body_mass_g 3350.0
Chinstrap year 2009.0
Chinstrap bill_length_mm 52.2
Chinstrap bill_depth_mm 18.8
Chinstrap flipper_length_mm 197.0
Chinstrap body_mass_g 3450.0
Chinstrap year 2009.0
Chinstrap bill_length_mm 45.2
Chinstrap bill_depth_mm 16.6
Chinstrap flipper_length_mm 191.0
Chinstrap body_mass_g 3250.0
Chinstrap year 2009.0
Chinstrap bill_length_mm 49.3
Chinstrap bill_depth_mm 19.9
Chinstrap flipper_length_mm 203.0
Chinstrap body_mass_g 4050.0
Chinstrap year 2009.0
Chinstrap bill_length_mm 50.2
Chinstrap bill_depth_mm 18.8
Chinstrap flipper_length_mm 202.0
Chinstrap body_mass_g 3800.0
Chinstrap year 2009.0
Chinstrap bill_length_mm 45.6
Chinstrap bill_depth_mm 19.4
Chinstrap flipper_length_mm 194.0
Chinstrap body_mass_g 3525.0
Chinstrap year 2009.0
Chinstrap bill_length_mm 51.9
Chinstrap bill_depth_mm 19.5
Chinstrap flipper_length_mm 206.0
Chinstrap body_mass_g 3950.0
Chinstrap year 2009.0
Chinstrap bill_length_mm 46.8
Chinstrap bill_depth_mm 16.5
Chinstrap flipper_length_mm 189.0
Chinstrap body_mass_g 3650.0
Chinstrap year 2009.0
Chinstrap bill_length_mm 45.7
Chinstrap bill_depth_mm 17.0
Chinstrap flipper_length_mm 195.0
Chinstrap body_mass_g 3650.0
Chinstrap year 2009.0
Chinstrap bill_length_mm 55.8
Chinstrap bill_depth_mm 19.8
Chinstrap flipper_length_mm 207.0
Chinstrap body_mass_g 4000.0
Chinstrap year 2009.0
Chinstrap bill_length_mm 43.5
Chinstrap bill_depth_mm 18.1
Chinstrap flipper_length_mm 202.0
Chinstrap body_mass_g 3400.0
Chinstrap year 2009.0
Chinstrap bill_length_mm 49.6
Chinstrap bill_depth_mm 18.2
Chinstrap flipper_length_mm 193.0
Chinstrap body_mass_g 3775.0
Chinstrap year 2009.0
Chinstrap bill_length_mm 50.8
Chinstrap bill_depth_mm 19.0
Chinstrap flipper_length_mm 210.0
Chinstrap body_mass_g 4100.0
Chinstrap year 2009.0
Chinstrap bill_length_mm 50.2
Chinstrap bill_depth_mm 18.7
Chinstrap flipper_length_mm 198.0
Chinstrap body_mass_g 3775.0
Chinstrap year 2009.0
  1. Figur
penguins_long |> 
  filter(!is.na(value)) |> 
  ggplot(aes(x = value, fill = species)) +
  geom_density(alpha = 0.7)  +
  facet_wrap(~ variable, scales = "free") +
  scale_color_manual() +
  labs(
    title = "Distributione över kontinuerliga variabler i penguins-data",
    x = "Värde",
    y = "Densitet"
  )

penguins_long |> 
  filter(!is.na(value)) |> 
  ggplot(aes(x = value, fill = species)) +
  geom_density(alpha = 0.7, position = "fill", color = "transparent")  +
  facet_wrap(~ variable, scales = "free") +
  labs(
    title = "normaliserad distrubution i kontinuerliga variabler i penguins-data",
    x = "Värde",
    y = "Distribution"
  )

Boxplot med signifikansvärden

library(ggsignif)

ggplot(data = penguins, 
       aes(x = species, 
           y = bill_length_mm,
           fill = species)) +
  geom_boxplot() +
  geom_signif(
    comparisons = list(
      c("Adelie", "Chinstrap"),
      c("Adelie", "Gentoo"),
      c("Chinstrap", "Gentoo")
    ),
    map_signif_level = TRUE,
    y_position = c(60, 62, 64) # olika nivåer för varje linje
  ) +
  labs(
    title = "Boxplot med multipla jämförelser",
    y = "Näbblängd (mm)"
  )

Två kontinuerliga variabler

penguins |> 
  ggplot(aes(x = bill_length_mm, y = bill_depth_mm)) +
  geom_point(alpha = .5) +
  geom_smooth(method = "lm") 

Multivariat

p_plot <- penguins |> 
  ggplot(aes(x = bill_length_mm, y = bill_depth_mm, color = species)) +
  geom_point(alpha = .5) +
  geom_smooth(method = "lm")  +
  scale_colour_manual(values = c("darkorange","purple","cyan4")) +
  scale_fill_manual(values = c("darkorange","purple","cyan4")) +
  labs(title = "Simpsons paradox") +
  theme(legend.position = c(0.85, 0.15),
        plot.title.position = "plot",
        plot.title = element_text(face= "italic")) # hjust = 0, 
p_plot

smooth_plot <- penguins |> 
  ggplot(aes(x = bill_length_mm, y = bill_depth_mm, color = species)) +
  geom_point(alpha = .5) +
  geom_smooth() +
  scale_colour_manual(values = c("darkorange","purple","cyan4")) +
  scale_fill_manual(values = c("darkorange","purple","cyan4")) +
  labs(title = "Simpsons paradox") +
  theme(legend.position = c(0.85, 0.15),
        plot.title.position = "plot",
        plot.title = element_text(hjust = 0, face= "italic"))
smooth_plot

penguins |> 
  select(species, body_mass_g, ends_with("_mm")) |>  
  GGally::ggpairs(aes(color = species),
                  columns = c("flipper_length_mm", 
                              "body_mass_g", 
                              "bill_length_mm", 
                              "bill_depth_mm")) +
  scale_colour_manual(values = c("darkorange","purple","cyan4")) +
  scale_fill_manual(values = c("darkorange","purple","cyan4"))

  1. Sammanfatta data per art
penguins_summary <- penguins |> 
  drop_na(species, bill_length_mm, bill_depth_mm, body_mass_g)|> 
  group_by(species)|> 
  summarise(
    bill_length = mean(bill_length_mm),
    bill_depth  = mean(bill_depth_mm),
    body_mass   = mean(body_mass_g),
    .groups = "drop"
  )

penguins_summary
species bill_length bill_depth body_mass
Adelie 38.79139 18.34636 3700.662
Chinstrap 48.83382 18.42059 3733.088
Gentoo 47.50488 14.98211 5076.016
  1. Skala (centrera + standardisera) variablerna
penguins_scaled <- 
  penguins_summary |> 
  mutate(
    across(c(bill_length, bill_depth, body_mass), ~ as.numeric(scale(.x))) # skalar (z-transformation) bill_length, bill_depth, body_mass
    )

penguins_scaled
species bill_length bill_depth body_mass
Adelie -1.1461020 0.5583506 -0.5978840
Chinstrap 0.6948611 0.5961438 -0.5565701
Gentoo 0.4512409 -1.1544944 1.1544542
  1. Gör om tibblen till långtformat
penguins_clustered_long <- penguins_scaled|> 
  pivot_longer(
    cols = c("bill_length", "bill_depth", "body_mass"), 
    names_to = "variable", 
    values_to = "scaled_value"   # detta är redan z-score efter "scale()"
  )

penguins_clustered_long
species variable scaled_value
Adelie bill_length -1.1461020
Adelie bill_depth 0.5583506
Adelie body_mass -0.5978840
Chinstrap bill_length 0.6948611
Chinstrap bill_depth 0.5961438
Chinstrap body_mass -0.5565701
Gentoo bill_length 0.4512409
Gentoo bill_depth -1.1544944
Gentoo body_mass 1.1544542
  1. plotta heatmap
ggplot(penguins_clustered_long, 
       aes(x = species, y = variable, fill = scaled_value)) +
  geom_tile(color = "white") +
  scale_fill_gradient2(
    low = "steelblue", mid = "white", high = "darkorange", midpoint = 0
  ) +
  scale_x_discrete(
    position = "top"
    ) +

  labs(
    title = "",
    x = "",
    y = "",
    fill = "Z-score"
  ) +
  theme(
    axis.text.x = element_text(hjust = 1),
    panel.grid = element_blank(),
    legend.position = "top",
    legend.key.width  = unit(2, 'cm'),
    legend.title.position = "top"
  )

  1. plotta text
ggplot(penguins_clustered_long, 
       aes(x = species, y = variable, fill = scaled_value)) +
  geom_tile(color = "white") +
  geom_text(aes(label = round(scaled_value, 2))) +
  scale_fill_gradient2(
    low = "steelblue", mid = "white", high = "darkorange", midpoint = 0
  ) +
  scale_x_discrete(
    position = "top"
    ) +

  labs(
    title = "",
    x = "",
    y = "",
    fill = "Z-score"
  ) +
  theme(
    axis.text.x = element_text(hjust = 1),
    panel.grid = element_blank(),
    legend.position = "top",
    legend.key.width  = unit(2, 'cm'),
    legend.title.position = "top"
  )

PCA - (multivariat)

PCA: Bryter ner variabler i ett nytt koordinatsystem (principal components) som fångar den största variationen.

  • Utforska data, hur variabler hänger ihop.

  • Kan användas när variabler är starkt korrelerade med varandra och man vill minska antalet till en uppsättning oberoende komponenter.

  • Bra när man har många variabler för att se den större bilden

Detta exempel bygger på:
https://allisonhorst.github.io/palmerpenguins/articles/pca.html#plot-pca-loadings-scores

https://juliasilge.com/blog/cocktail-recipes-umap/

Vi använder recipes-paketet från tidymodels för att utföra en PCA. Vi kommer först att förbehandla data:

  1. uppdatera “roll”
  2. Ta bort rader med NA.
  3. Centrera alla prediktorer (värde - medelvärdet, medelvärde = 0) och ge dem standardavvikelse = 1. Resultatet kallas Z-score.
library(tidymodels) 

penguin_recipe <-
  recipe(~., data = penguins) |> 
  update_role(species, island, sex,  new_role = "id") |> 
  step_naomit(all_predictors()) |> 
  step_normalize(all_predictors()) |>  # centers and scales
  step_pca(all_predictors(), id = "pca") |> 
  prep()

penguin_pca <- 
  penguin_recipe |>  
  tidy(id = "pca") 

penguin_pca
terms value component id
bill_length_mm 0.4552503 PC1 pca
bill_depth_mm -0.4003347 PC1 pca
flipper_length_mm 0.5760133 PC1 pca
body_mass_g 0.5483502 PC1 pca
bill_length_mm -0.5970311 PC2 pca
bill_depth_mm -0.7977666 PC2 pca
flipper_length_mm -0.0022822 PC2 pca
body_mass_g -0.0843629 PC2 pca
bill_length_mm -0.6443012 PC3 pca
bill_depth_mm 0.4184272 PC3 pca
flipper_length_mm 0.2320840 PC3 pca
body_mass_g 0.5966001 PC3 pca
bill_length_mm 0.1455231 PC4 pca
bill_depth_mm -0.1679860 PC4 pca
flipper_length_mm -0.7837987 PC4 pca
body_mass_g 0.5798821 PC4 pca
class(penguin_recipe)
[1] "recipe"
class(penguin_pca)
[1] "tbl_df"     "tbl"        "data.frame"

Vi kan med recipes::tidy() titta på hur mycket varians varje komponent förklarar:

penguin_recipe |>  
  tidy(id = "pca", type = "variance") 
terms value component id
variance 2.7537551 1 pca
variance 0.7725168 2 pca
variance 0.3652359 3 pca
variance 0.1084922 4 pca
cumulative variance 2.7537551 1 pca
cumulative variance 3.5262719 2 pca
cumulative variance 3.8915078 3 pca
cumulative variance 4.0000000 4 pca
percent variance 68.8438781 1 pca
percent variance 19.3129188 2 pca
percent variance 9.1308977 3 pca
percent variance 2.7123054 4 pca
cumulative percent variance 68.8438781 1 pca
cumulative percent variance 88.1567969 2 pca
cumulative percent variance 97.2876946 3 pca
cumulative percent variance 100.0000000 4 pca
penguin_recipe |>  
  tidy(id = "pca", type = "variance") |>  
  filter(terms == "percent variance") |>  
  ggplot(aes(x = component, y = value)) + 
  geom_col(fill = "#b6dfe2") + 
  xlim(c(0, 5)) + 
  ylab("% av total varians")

penguin_pca |> 
  mutate(terms = tidytext::reorder_within(terms, abs(value), component)) |> 
  ggplot(aes(value, terms, fill = value > 0)) +
  geom_col() +
  facet_wrap(~component, scales = "free_y") +
  tidytext::scale_y_reordered() +
  scale_fill_manual(values = c("#b6dfe2", "#0A537D")) +
  labs(
    x = "Absolut bidrag",
    y = NULL, 
    fill = "Positiv?"
  )

# Gör pca-loadings i bredare format
pca_wider <- penguin_pca |>  
  pivot_wider(names_from = component, id_cols = terms)

# Extrahera PCA-scores

pca_plot_data <-
  bake(penguin_recipe, new_data = NULL) 




pca_plot_data |> 
  ggplot(aes(PC1, PC2)) +
  geom_point(aes(color = species, shape = species), 
             alpha = 0.8, 
             size = 2) +
  scale_colour_manual(values = c("darkorange","purple","cyan4")) +
  geom_segment(data = pca_wider,
               aes(xend = PC1, yend = PC2),
               x = 0, y = 0,
               arrow = arrow(length = unit(.05, "inches"), type = "closed")) + 
  geom_text(data = pca_wider,
            aes(x = PC1, y = PC2, label = terms),
            hjust = 0, 
            vjust = 1,
            size = 5, 
            color = '#0A537D')

Här ser vi tydligt att flipper_length_mm och body_mass_g dominerar för PC1. Gentoo-pingviner sticker ut längs den axeln

Bekräfta med beskrivande statistik:

penguins|>  
  group_by(species)|>  
  summarize(across(c(flipper_length_mm, body_mass_g), mean, na.rm = TRUE))
species flipper_length_mm body_mass_g
Adelie 189.9536 3700.662
Chinstrap 195.8235 3733.088
Gentoo 217.1870 5076.016
ggplot(penguins, aes(x = flipper_length_mm, y = body_mass_g, colour = species)) +
  geom_point() +
  scale_colour_manual(values = c("darkorange","purple","cyan4"))

pca_plot_data |> 
 ggplot(aes(PC2, PC3)) +
  geom_point(aes(color = species, shape = species), 
             alpha = 0.8, 
             size = 2) +
  scale_colour_manual(values = c("darkorange","purple","cyan4")) + 
  geom_segment(data = pca_wider,
               aes(xend = PC2, yend = PC3), 
               x = 0, y = 0,
               arrow = arrow(length = unit(.05, "inches"), type = "closed")) + 
  geom_text(data = pca_wider,
            aes(x = PC2, y = PC3, label = terms), 
            hjust = 0, 
            vjust = 1,
            size = 5, 
            color = '#0A537D')

Här ser vi att bill_length_mm och bill_depth_mm dominerar PC2. Här ser vi att Chinstrap-pingvinerna är skiljda från resten.

Bekräfta med beskrivande statistik:

penguins|>  
  group_by(species)|>  
  summarize(across(c(bill_depth_mm, bill_length_mm), mean, na.rm = TRUE))
species bill_depth_mm bill_length_mm
Adelie 18.34636 38.79139
Chinstrap 18.42059 48.83382
Gentoo 14.98211 47.50488
ggplot(penguins, aes(x = bill_length_mm, y = bill_depth_mm, colour = species)) +
  geom_point() +
  scale_colour_manual(values = c("darkorange","purple","cyan4"))

  • Gentoo-pingviner är generellt störst, med längre fenor och högre kroppsmassa.

  • Chinstrap och Adelie är mer lika i storlek (flipper_length_mm, body_mass_g) men skiljer sig i näbbmått (bill_length_mm, bill_depth_mm).

Saknade värden, missing, NA

library(naniar)

gg_miss_var(penguins)

gg_miss_upset(penguins)

Noll hypotesen är att data är missing completely at random

High p value (>0.05) = missing completely at random

  • ifall data är MCAR då ska man inte imputera eftersom saknad data inte kan prediceras av andra variabler i datasetet
mcar_test(penguins)
statistic df p.value missing.patterns
10.22589 8 0.2495283 3

Paket för att utforska och sammanfatta data i R

  • skimr: Sammanfatta din data snabbt och enkelt.
  • naniar: Undersök saknade värden ur olika perspektiv.
  • DataExplorer: Skapa automatiserade datarapporter.
  • summarytools: Verktyg för sammanfattningar och deskriptiv statistik.
  • SmartEDA: Automatisera explorativ dataanalys.
  • janitor: Rensa och summera data.
  • inspectdf: Visuella jämförelser av datastrukturer och innehåll.
  • ggcorrplot: Visualisera korrelationsmatriser med hjälp av ggplot2.
  • explore: Utforska din data
  • overviewR: Få en överblick av din data

Paket för att presentera data

  • gt: Skapa professionella tabeller för rapportering.

  • gtsummary: Generera summeringstabeller med publiceringsklar formatering.

  • reactable: Skapa interaktiva tabeller med sortering, filtrering och mer.

  • flextable: Skapa tabeller för Word, PowerPoint och HTML-dokument.

  • kableExtra: Förbättra kable-tabeller med stil- och formateringsalternativ.

  • formattable: Formatera data frames med färger och stilar för bättre presentation.

  • plotly: Skapa interaktiva diagram och visualiseringar.

  • highcharter: Skapa interaktiva visualiseringar baserat på Highcharts.

  • broom: Extrahera modelldata från modellobjekt till ett rektangulärt dataset

  • marginaleffects: Sammanfatta modeller på olika sätt