Skip to content

Equivalent to Stata egen tag

1 message · Denis Kazakevich

#
What are the R equivalents to the Stata command egen tag 
and
egen count?

egen station_week_tag = tag(station week) 

Thank you