s you similar applicability as table
With best regards
Denis
- Original Message
From: David Winsemius
To: Denis Kazakevich
Sent: Sun, 23 January, 2011 17:56:53
Subject: Re: [R] Equivalent to Stata egen tag
On Jan 16, 2011, at 6:48 PM, Denis Kazakevich wrote:
What are the R e
which is
great
With best regards
Denis
- Original Message
From: David Winsemius
To: Denis Kazakevich
Sent: Sun, 23 January, 2011 17:56:53
Subject: Re: [R] Equivalent to Stata egen tag
On Jan 16, 2011, at 6:48 PM, Denis Kazakevich wrote:
> What are the R equivalents to the St
What are the R equivalents to the Stata command egen tag
and
egen count?
egen station_week_tag = tag(station week)
Thank you
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http:/
It is sure thing that different person has different expectation of
the help system. Personally, I think Stata's on-line help system is
too brief, though the manual may be a different story. Perhaps, it is
all about the habit and the extent to which you are used to (and how
much you know about it).
On Apr 16, 2009, at 3:58 PM, Stas Kolenikov wrote:
See, we just jave different expectations of what is to be seen in the
help system, and are used to different formats. Yes, Stata thinks of
data as a rectangular array (although it stores it in memory, unlike
SAS). The inputs to -egen-, as well
See, we just jave different expectations of what is to be seen in the
help system, and are used to different formats. Yes, Stata thinks of
data as a rectangular array (although it stores it in memory, unlike
SAS). The inputs to -egen-, as well as the values produced, depend on
the particular functi
From: "David Winsemius"
To: "Stas Kolenikov"
Cc: "r-help@r-project.org"
Date: Thu, 16 Apr 2009 13:39:44 -0400
Subject: Re: [R] Equivalent to Stata egen
Terse is OK by me as long as I get told what goes in (allowable data
types, argument names and effects) and what come
Terse is OK by me as long as I get told what goes in (allowable data
types, argument names and effects) and what comes out. What seemed to
be lacking in that Stata doc for egen was a description of the purpose
or behavior and then could find no description of the values produced.
Perhaps it
http://www.stata.com/help.cgi?egen -- it creates new variables dealing
with some special relatively non-standard tasks that don't boil down
to a one-line arithmetic expressions. For that reason, there will be
no equivalent to -egen- in general, as it has so many functions that
are so different. -ro
Peter Kraglund Jacobsen kraglundjacobsen.dk> writes:
>
> What are the R equivalents to the Stata command egen?
>
> egen temp = anycount(t0vas t30vas t60vas t120vas t240vas t360vas),
> values(0,1,2,3,4,5,6,7,8,9,10)
> egen temp2 = rowtotal(t0vas t30vas t60vas t120vas t240vas t360vas)
>
And peo
What are the R equivalents to the Stata command egen?
egen temp = anycount(t0vas t30vas t60vas t120vas t240vas t360vas),
values(0,1,2,3,4,5,6,7,8,9,10)
egen temp2 = rowtotal(t0vas t30vas t60vas t120vas t240vas t360vas)
__
R-help@r-project.org mailing li
11 matches
Mail list logo