Hi all,
I am looking for a function for following calculation.
start.month = "July"
end.month = "January"
months = f(start.month, end.month, by=1)
* f is the function that I am looking for.
Actually I want to get months = c("July", "August",.............."January")
If start.month = 6 and end.month = 1 then I could use (not properly) seq()
function and then I would get month as a vector with elements 6,5,4,3,2, and
1 by choosing "by=-1". Is there any function which can subsitute the seq()
function in my case?
Regards,
[[alternative HTML version deleted]]
______________________________________________
[email protected] 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.