Question: Question 1 0 Part 1 : Using household form the tidyr package, extract the month and date from dob _ child 1 and dob _
Question
Part : Using household form the tidyr package, extract the month and date from dobchild and dobchild
Part : Next, create a new column diff where you subtract the two dates: dobchild Use diff to calculate the number of months between the two children. Hint: subtracting the dates creates a time objects, you can turn this into a numeric column with
Part : Can you use the month and date columns you create in part to recreate your result from part
Question
With the data set from the tidyr package, create a new column date with the function.
Does your created date column have a day specified?
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
