Question: Q5a: Now we will clean the variable that measures how often the respondent ate fruit per day or per week or per month. Create a
Q5a: Now we will clean the variable that measures how often the respondent ate fruit per day or per week or per month. Create a new dataframe named `brf_Q5a` that is the same as `brf_Q2` 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 in r
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
