Can I calculate the time difference between dates in R?

前端 未结 0 2011
既然无缘
既然无缘 2020-12-15 08:20

My data looks like this:

data <- read.table(header=T, text= \'
 PID     Date           Date.diff
  1      2020-01-01     0 
  1      2020-01-02     1
  1           


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题