1. Learn
  2. /
  3. Courses
  4. /
  5. Data Exploration With Kaggle Scripts

Exercise

Assessing chopsticks effectiveness

In a study named An Investigation for Determining the Optimum Length of Chopsticks researchers set out to determine the optimal length for chopsticks. One of the criteria to measure chopstick performance is food pinching efficiency (the number of peanuts picked up and placed in a cup).

The workspace contains the chopstick dataset, with 186 observations (different trials) and 2 variables: pinching_eff, the pinching efficiency, and chopstick_length, the lenght of the chopsticks used in the trial. Can you use your ggplot2 skills to create a visualization and and turn this data into easy accessible information? ggplot2 is already loaded for you, so you can get started right away!

Instructions

100 XP

Finish the ggplot() command: - Map pinching_eff onto x and chopstick_length onto fill. - Set the transparency of the density plots to 0.3 with alpha = 0.3. - Label the x-axis with "Food Pincing Eficiency" and the y-axis with "Relative Frequency".