Re: [R] How numerical data is stored inside ts time series objects

2015-04-22 Thread David R Forrest
On Apr 21, 2015, at 9:39 PM, Paul paul.domas...@gmail.com wrote: ... I rummaged around the help files for str, summary, dput, args. This seems like a more complicated language than Matlab, VBA, or even C++'s STL of old (which was pretty thoroughly documented). A function like str() returns

Re: [R] How numerical data is stored inside ts time series objects

2015-04-22 Thread Martin Maechler
Paul paul.domas...@gmail.com on Wed, 22 Apr 2015 01:39:16 + writes: William Dunlap wdunlap at tibco.com writes: Use the str() function to see the internal structure of most objects. In your case it would show something like: Data -

Re: [R] How numerical data is stored inside ts time series objects

2015-04-22 Thread Paul
William Dunlap wdunlap at tibco.com writes: I think we can call this a bug in stl(). I used what I learned from the responses to this thread, I looked at the code for stl. As they say in Microsoft, this is expected behaviour according to the code. And it doesn't look like an inadvertent coding

Re: [R] How numerical data is stored inside ts time series objects

2015-04-21 Thread William Dunlap
Interesting that a 2D matrix of size Nx1 is treated as a different animal from a length N vector. I think we can call this a bug in stl(). Bill Dunlap TIBCO Software wdunlap tibco.com On Tue, Apr 21, 2015 at 6:39 PM, Paul paul.domas...@gmail.com wrote: William Dunlap wdunlap at tibco.com

Re: [R] How numerical data is stored inside ts time series objects

2015-04-21 Thread Paul
William Dunlap wdunlap at tibco.com writes: Use the str() function to see the internal structure of most objects. In your case it would show something like: Data - data.frame(theData=round(sin(1:38),1)) x - ts(Data[[1]], frequency=12) # or Data[,1] y - ts(Data, frequency=12) str(x)

[R] How numerical data is stored inside ts time series objects

2015-04-20 Thread Paul
list http://news.gmane.org/gmane.comp.lang.r.general and to stackoverflow at http://stackoverflow.com/questions/29759928/how-numerical-data-is-stored- inside-ts-time-series-objects. __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see

Re: [R] How numerical data is stored inside ts time series objects

2015-04-20 Thread William Dunlap
like to get a clearer picture so that I know when else (and how) to watch out for this. I've posted this to the R Help mailing list http://news.gmane.org/gmane.comp.lang.r.general and to stackoverflow at http://stackoverflow.com/questions/29759928/how-numerical-data-is-stored- inside-ts-time