Question: I just want to know the R code for this problem. There are over 10000 rows in this data. Since I can't upload everything in
I just want to know the R code for this problem. There are over 10000 rows in this data. Since I can't upload everything in here, I'll upload the first 1-18.I just want to know how to solve this problem so that I can use the formula to solve this problem.

\f
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
