Highlights
This table is organized as observations of driver performance over 4 races. The number 4 seems arbitrary. What if a driver doesn’t participate in all races? What if the length of the season is different from year to year? This may be a reasonable way to view the data, and perhaps to enter the data, but it is not a great form for analysis.
Todo: Tidy and plot race performance as a multi-line plot by driver.
Problem 2. Consider the table below
This table is organized to be thin. Although it could have been spread out over multiple columns, it may have been stored this way for convenience when printing.
Todo: Tidy and show a bar chart comparing the two types of cars in terms of average top 10 finishes.
Problem 3. Consider the table below
This table has similar issues as table 1. It has some missing values. An NA for a race start might imply that the driver did not participate, while an NA for a Time may imply that the driver did not finish the race (e.g. a crash).
Todo: Tidy and show a scatter plot of race starting positions by times in seconds, colored by driver. Hint: gather all columns together to start, then mutate the key into two variables (measurement_type and race), then spread according to the measurement_type. You’ll also need to mutate the time from hms format to just s (use lubridate).
Problem 4. Regular expressions.
Using the “words” dataset, built into stringr, practice writing regular expressions to achieve the following
This Statistics Assessment has been solved by our IT experts at My Uni Paper. Our Assignment Writing Experts are efficient to provide a fresh solution to this question. We are serving more than 10000+ Students in Australia, UK & US by helping them to score HD in their academics. Our Experts are well trained to follow all marking rubrics & referencing style.
© Copyright 2026 My Uni Papers – Student Hustle Made Hassle Free. All rights reserved.