Question: using r and dplyr List the variance, standard deviation, and average of wins by driver for drivers with at least 30 races. the dataframe to
using r and dplyr
List the variance, standard deviation, and average of wins by driver for drivers with at least 30 races.
the dataframe to be used is Q10_a
create races column to count how many races a driverName won by using driverName and PositionText) (1 = win, 0 = not won)
Your solution should be a dataframe with five columns (driverName,races, winsVar, winsSd, winsAvg) assigned to Q10.
Round to four decimal places.
Only include the first 10 rows.
Sort winsAvg (highest to lowest).
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
