Answered step by step
Verified Expert Solution
Question
1 Approved Answer
### Q 5 a: Now we will clean the variable that measures how often the respondent ate fruit per day or per week or per
### Qa: 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 variable in brfpart named FRTDAY that converts all of the responses into fruits eaten per day Be sure to account for days. Use days per month, days per week, and for less than once a month in your conversion calculations. Place the new column as the first column in the dataframe.
Make sure you added the new column FRTDAY to the existing brfpart dataframe.
The resulting dataframe should still have NAs for FRTDAY at this point.
Hint: The resulting dataframe is x
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started