Constructing a zoo object is well covered in ?zoo
and in the three vignettes:
vignette("zoo")
vignette("zoo-quickref")
vignette("zoo-faq")
On Sat, Aug 2, 2008 at 10:27 AM, rcoder <[EMAIL PROTECTED]> wrote:
>
> Thanks for your reply Gabor.
>
> As I already have a dates column in my dataframe (in
Thanks for your reply Gabor.
As I already have a dates column in my dataframe (in column row.names), is
it possible to preserve this whilst still making a data set suitable for
rollapply()?
Thanks,
rcoder
Gabor Grothendieck wrote:
>
> If its regular you can convert it to ts or zoo.
> If its
If its regular you can convert it to ts or zoo.
If its irregular convert it to zoo. There is no
reason to expect rollapply to work with objects
of other classes. Read ?ts and ?zoo. In
ts note the start and frequency arguments.
On Sat, Aug 2, 2008 at 7:50 AM, rcoder <[EMAIL PROTECTED]> wrote:
>
Hi everyone,
I have a data frame, with the following format:
MatDate->
row.names ID1 ID2 ID3
1 date1
2 date1
3 date3
etc
but I cannot perform a rollapply() statement on the matrix without
converting the matrix into a time series.
i.e. MatTs<-ts(Ma
4 matches
Mail list logo