Question: ### Q5a: Now we will clean the variable that measures how often the respondent ate fruit per day or per week or per month using
### Q5a: Now we will clean the variable that measures how often the respondent ate fruit per day or per week or per month using R. Create a new dataframe named `brf_Q5a` with variables value of range 101 - 199, 210 - 299, 300, 301 - 399, 555 value label as Days, Weeks, Less than month, Month/Year and Never with frequency of 200086, 123019, 3567, 56983, 11087 except that you'll add a new variable to it named `FRTDAY` that converts all of the responses into fruits eaten *per day*. Be sure to account for 0 days. Use 30 days per month, 7 days per week, and 0.02 for less than once a month in your conversion calculations. Be sure to round any conversion calculations to two decimal places. Place the new column as the first column in the dataframe.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
