Penguins.data | R Documentation |
This data is from a study of three penguin species from three islands in the Palmer Archipelago, Antarctica. Four measurements were collected for 344 male and female penguins in the years 2007 - 2009.
Penguins.data
A data frame with 344 observations (rows) and 8 variables (columns).
Column name | Data type | Description | Values | |
[,1] | species | factor | 3 different penguin species | (Adelie, Chinstrap, Gentoo) |
[,2] | island | factor | 3 different islands | (Biscoe, Dream, Torgersen) |
[,3] | bill_length | numeric | Culmen length in mm | (32.10 - 59.60) |
[,4] | bill_depth | numeric | Bill depth in mm | (13.10 - 21.50) |
[,5] | flipper_length | integer | Flipper length in mm | (172.0 - 231.0) |
[,6] | body_mass | integer | The penguin's body mass in gram | (2700 - 6300) |
[,7] | sex | factor | The gender of the penguin | (female, male) |
[,8] | year | integer | The year of the study | (2007 - 2009) |
The bill_length
is a measurement of the culmen length: the penguin's
upper ridge of the bill (beak).
The data is from the palmerpenguins data package which also
contains a data set penguins_raw
with additional information from the
study.
Horst, A.M., Hill, A.P., Gorman, K.B. (2020) palmerpenguins: Palmer Archipelago (Antarctica) penguin data. R package version 0.1.0. https://allisonhorst.github.io/palmerpenguins/. doi: 10.5281/zenodo.3960218.
Gorman, K.B., Williams, T.D., Fraser, W.R. (2014) Ecological sexual dimorphism and environmental variability within a community of Antarctic penguins (genus Pygoscelis). PLoS ONE, 9, e90081. https://doi.org/10.1371/journal.pone.0090081
# A short summary of the variables
summary(Penguins.data)
# Scatterplot matrix of the variables
pairs(Penguins.data)
# Measured flipper length per species
boxplot(flipper_length ~ species, data = Penguins.data,
col = c("mistyrose4", "snow2", "darkorchid"))
# Plotting flipper length against bill length coloured by species
plot(flipper_length ~ bill_length, data = Penguins.data,
col = species, pch = 19)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.