search for: shruthir

Displaying 1 result from an estimated 1 matches for "shruthir".

Did you mean: shruthi
2008 Dec 18
1
Indicator function for merged times (was: Re: Rr: For and if confusion)
...Would anyone have any ideas on how to do this? I would paste the code I am >> trying, but it would confuse rather than clarify (R newbie!). Am getting >> really lost in 'for' and 'if' loops, so would really appreciate any help! >> >> Thanks! >> >> ShruthiRE > > #time series of 1 in the interval > Int1<-ts(1, start=c(1993, 3), end=c(1997, 5), freq=12) > Int2<-ts(1, start=c(1993, 3), end=c(1997, 5), freq=12) > #original time series > Y <- ts(rnorm(120), freq=12, start=c(1992,8)) #Aug 1992 to Aug 2002 > > #need zoo and a...