[R] Hello
Rui Barradas
ruipbarradas at sapo.pt
Wed May 1 22:35:11 CEST 2013
Hello,
To compute the difference between two date/time objects use the minus
operator. See
?difftime
?`-.POSIXt`
Hope this helps,
Rui Barradas
Em 01-05-2013 16:58, Eric Mintah escreveu:
> Dear sir/madam,
> I used as.Date,strptime, POXIct, and POXIlt functions to work on my data in R. Please, I would like to know the function to find the difference between the dates and times in two different columns and make a new column for that. Thank you
> [[alternative HTML version deleted]]
>
>
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
More information about the R-help
mailing list