[R] How to create sequence in month

Stefan Grosse singularitaet at gmx.net
Mon Jul 12 20:32:41 CEST 2010


Am 12.07.2010 20:25, schrieb Bogaso Christofer:

>> library(zoo)
> 
>> seq(as.yearmon("2010-01-01"), as.yearmon("2010-03-01"), by="1 month")
> 

seq(as.Date("2010-01-01"), as.Date("2010-03-01"), by="1 month")


hth
Stefan



More information about the R-help mailing list