Question: What should be done for 200086 in function below to output 1.00 in dataframe brf_Q5a % mutate(FRTDAY = case_when(FRUIT2 == 300 ~ 0.02, between(FRUIT2, 101,
What should be done for 200086 in function below to output 1.00 in dataframe
brf_Q5a % mutate(FRTDAY = case_when(FRUIT2 == 300 ~ 0.02, between(FRUIT2, 101, 199)~200086, between(FRUIT2, 201, 299)~round((123019 / 7),2), between(FRUIT2, 301, 399)~round((56983 / 30),2), FRUIT2 == 555~0), .before = 1 ) %>%
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
