On 5/26/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > years
> [1] "1995-01-01" "1996-01-01" "1996-01-01" "1997-01-01" "1998-01-01"
> [6] "1999-01-01" "2000-01-01" "2001-01-01" "2002-01-01" "2003-01-01"
> [11] "2004-01-01" "2005-01-01"
>
>
> By the way, is there a way to use seq() to generate something like the
> "years" sequence above?
>
seq( as.Date("1995-01-01"), length = 11, by = "year" )
______________________________________________
[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