Am 28.02.2011 18:36, schrieb Aidan Corcoran:

>> head(dq)
>         sphsxs eunrfi irhont
> 1995(1)  670.8   82.9     NA
> 1995(2)  686.0   82.9     NA
> 1995(3)  682.6   83.0     NA
> 1995(4)  692.7   82.7     NA
> 1996(1)  686.0   81.5   33.6
> 1996(2)  697.8   82.0   34.6
> 

>> dq/dq[index(dq)==1996.00]
>      sphsxs eunrfi irhont
> 1996      1      1      1


dq2<-zooreg(t(t(dq)/as.numeric(dq[index(dq)==1996.00]))*100,start=c(1995,1),frequency=4)

Stefan

_______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-sig-finance
-- Subscriber-posting only. If you want to post, subscribe first.
-- Also note that this is not the r-help list where general R questions should 
go.

Reply via email to