[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: RE: duplicates tag not by-able
I agree with Michael Blasnik.
There is no reason to support
by <groupvar>: duplicates tag <varlist>, gen(tag)
duplicates tag <groupvar> <varlist>, gen(tag)
does the same thing.
Alternatively, you can just go back to first principles:
bysort <groupvar> <varlist> : gen tag = _N - 1
> Are there commands that allow me to get around the fact that
> the command
> duplicates tag
> is not by-able?
* For searches and help try: