Statalist


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

st: RE: Stata and R


From   "Cohen, Elan" <[email protected]>
To   "'[email protected]'" <[email protected]>
Subject   st: RE: Stata and R
Date   Tue, 25 Aug 2009 12:29:02 -0400

Could you please be more specific?  There is no concept of 'length' in Stata since all the variables belong to one dataset.  Just guessing, but something like -count if mi(x)- might be helpful.

If you'd like to subset, take a look at -drop- and -keep-.

- Elan


> -----Original Message-----
> From: [email protected] [mailto:owner-
> [email protected]] On Behalf Of Frank Peter
> Sent: Tuesday, August 25, 2009 12:13 PM
> To: [email protected]
> Subject: st: Stata and R
> 
> Dear Statalister,
> 
> Please, I am new to Stata, I am trying to replicate some R commands in
> Stata. I will like to know the equivalent of length and subset in Stata.
> 
> Thanks.
> 
> Frank
> *
> *   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index