Hi all, can anyone please guide me how to create a sequence of months? Here
I have tried following however couldn't get success 

 

> library(zoo)

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

Error in del/by : non-numeric argument to binary operator

 

What is the correct way to do that?

 

Thanks for your time.


	[[alternative HTML version deleted]]

