Thanks Nick.
Note that I didn't restrict length to time series. The point
that you and Neil made is well taken and acknowledged.
PS: I like space-time too.
Cheers,
Bob
Robert A. Yaffee, Ph.D.
Research Professor
Silver School of Social Work
New York University
Biosketch: http://homepages.nyu.edu/~ray1/Biosketch2009.pdf
CV: http://homepages.nyu.edu/~ray1/vita.pdf
----- Original Message -----
From: Nick Cox <[email protected]>
Date: Wednesday, August 26, 2009 10:46 am
Subject: RE: st: Stata and R
To: [email protected]
> 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/
*
* 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/