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/