You are limiting yourself to getting help from only those people that
understand the STATA language.  You may improve your chances for a helpful
response if you tell us in English what the STATA commands mean.

Jean


On Wed, May 29, 2013 at 10:37 AM, Daniel Tucker <dtuck...@u.rochester.edu>wrote:

> R list members,
>
> I am trying to replicate a command script in STATA and find
> equivalency in R to the following Stata command:
>
> egen stratida = concat(year byregn2 group) if sample==1
> egen stratidb = concat(year byregn2 group) if sample==2
> egen stratidc = concat(year byregn2 group) if sample==3
>
> Not sure if I should just try to make a for loop and use the paste
> operator or if there is somewhere else I should be looking.
>
>
> Thanks,
>
> Daniel
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to