Question: a ) Use gather ( ) to turn columns work.AM , home.AM , work.PM and home.PM into a key - value pair of key and
a Use gather to turn columns
work.AM
home.AM
work.PM and
home.PM into a keyvalue pair of key
and time see below
b Use separate to split the key into location and timeofday. Try piping parts a and b together
into one command.
c Using dplyr commands, find the max time for the treatment and control in the morning and afternoon.
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
