Question: this problem will use functions from the tidyverse package to manipulate datasets. 1 ) load the tidyverse package into R b ) use the pipe
this problem will use functions from the tidyverse package to manipulate datasets. load the tidyverse package into R b use the pipe command to create intermediary objects tod o the following; i use mutate function to create a new variable that computes the difference between values in the var and x variables; ii use the filter function to only include observations that got values equal to B or C for variable y remove any observations that got value A for variable y; iii use the groupby and summarize functions to get the mean difference from the first step for each of the remining values in y; iv arrange them from the largest to smallest.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
