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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!