Week 6 - Homework

week06
homework

For this homework, we will use the Palmer Penguins dataset. It contains information about three penguin species, living in the Palmer Archipelago. For each penguin, measurements include:

The goal is to explore, manipulate and visualize these data in R while practicing the concepts learned in class.

  1. Set up your workspace.

Create a new R Project called penguins_analysis and save the dataset file penguins.csv inside a folder named data in your project.

  1. Import the penguins.csv dataset, name the imported data as penguins.
  1. Insepct the imported data:
  1. Which species contains the most data?
  1. Extract penguins of “Gentoo” species which live on the “Biscoe” island.
  1. Create a new column bm_kg which stores the body mass in kilogram.
  1. Which species shows the highest average body mass in kilogram?
  1. Use scatter plot to visualise the body mass (in kg) and the bill length:

What is your observation for Adelie and Chinstrap penguins?

  1. Based on your observation from question 7, test if your hypothesis is statistically valid (using significance level at 5%).

Hints:


The homework correction is available here: link