[R] binary tree construction in R

2010-10-04 Thread kateg
Hi all, I'm very new to R and I'm trying to construct a threaded binary tree using recursive functions. I'm very confused was wondering if anyone had any R sample code they would share. I've come across a lot of C++ code(nothing in R) and this is not helping. best, MK -- View this message

Re: [R] stl function

2010-07-09 Thread kateg
Hi there, I tried the code that was sent. Thanks a lot. It doesn't seem to work. Here is what I'm working with... inc<-ts(incdat[,2], start=1968.000, freq=12) par(mfrow=c(1,2)) plot(stl(log(inc), s.window="periodic")) -- View this message in context: http://r.789695.n4.nabble.com/stl-fun

[R] stl function

2010-07-09 Thread kateg
Hi all, I'm working on decomposition and comparison of several time series. I'm interested in extracting the trend components for each time series using the stl function and overlaying them on one another. I'm not sure how to plot the trend function alone and to do the overlay using some kind