Hi Erin,
In the "xts" package, functions "endpoints" and
"period.apply" are
quite flexible. It might helps you to achieve what you are trying to
do.
Regards,
Pascal
On 18 February 2014 12:01, Erin Hodgess <erinm.hodgess at gmail.com>
wrote:> Hello again!
>
> Using "as.yearmon" or "as.yearqtr" will produce an xts
object. Is there
> something for annual objects that works in the same way please?
>
> thanks,
> Erin
>
> --
> Erin Hodgess
> Associate Professor
> Department of Computer and Mathematical Sciences
> University of Houston - Downtown
> mailto: erinm.hodgess at gmail.com
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> 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.
--
Pascal Oettli
Project Scientist
JAMSTEC
Yokohama, Japan