Displaying 1 result from an estimated 1 matches for "m2date".
Did you mean:
u2date
2008 Feb 07
1
Calculate the difference between dates
...9/2005, we say they were taken at day 2 for this group
In the below data, I have manually calculated the number of days when M2-measurements
were taken if they were not taken at
the starting day for some individuals (column Days). Is there any automatic ways to do this in R ?
M1date M2date Days
75 8/15/2005 8/15/2005 1
79 8/15/2005 8/16/2005 2
76 8/15/2005 8/15/2005 1
84 8/15/2005 8/16/2005 2
74 8/15/2005 8/15/2005 1
80 8/15/2005 8/16/2005 2
77 8/15/2005 8/15/2005 1
81 8/15/2005 8/16/2005 2
82 8/15/2005 8/16/2005 2
78 8/15/2005 8/16/2005 2
83 8/15/2005 8/16/2005...