How can generate for creationg of dummies/indicators from factor/categorical variable be automated?
generate
Solution comes from Nick: tabulate group, generate(
tabulate group, generate(