Statalist


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

Re: RE: st: Stata and R


From   Robert A Yaffee <bob.yaffee@nyu.edu>
To   statalist@hsphsun2.harvard.edu
Subject   Re: RE: st: Stata and R
Date   Wed, 26 Aug 2009 11:06:17 -0400

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 <n.j.cox@durham.ac.uk>
Date: Wednesday, August 26, 2009 10:46 am
Subject: RE: st: Stata and R
To: statalist@hsphsun2.harvard.edu


> 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 
> n.j.cox@durham.ac.uk 
> 
> 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/



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