Re: [R] Addition of numeric data to dates

From: Henrique Dallazuanna <wwwhsd_at_gmail.com>
Date: Fri, 14 Mar 2008 17:20:33 -0300

If I understand:

as.Date("2008-03-14") + 5*365

On 14/03/2008, Jillywadd <jill.waddingham07_at_imperial.ac.uk> wrote:
>
> Hello!
>
> I currently have a table of data with a column of start dates and a column
> with some numbers representing years. I need to add these numbers to the
> dates to get an end date. The two types of data are obviously incompatible
> and adddition of the two will not work. Does anyone know how I might go
> about this?? %-|
> --
> View this message in context: http://www.nabble.com/Addition-of-numeric-data-to-dates-tp16054166p16054166.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> 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.
>

-- 
Henrique Dallazuanna
Curitiba-Paraná-Brasil
25° 25' 40" S 49° 16' 22" O

______________________________________________
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.
Received on Fri 14 Mar 2008 - 20:22:27 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 14 Mar 2008 - 22:30:22 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive