Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: st: Stata and R


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   RE: st: Stata and R
Date   Wed, 26 Aug 2009 15:44:41 +0100

Nothing in R restricts the idea of length to time series. 

> length(c(1:5))
[1] 5
> length("Bob Yaffee")
[1] 1
> length(c("Bob", "Yaffee", "loves", "time", "series"))
[1] 5

I'd surmise on no evidence at all that S-PLUS is identical on this
point. 

Nick 
[email protected] 

Robert A Yaffee

  In R or S+, length refers to the number of observations in a time
series dataset.   

 

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index