Skip to content
Prev 247481 / 398503 Next

Equivalent to Stata egen tag

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

egen station_week_tag = tag(station week) 

Thank you