Friday, October 1, 2021

Loop through variable names and output a list of factor variables in the dataset

Dear Statalists,

Is there a way that I could loop through the variables in a dataset and get a list of factor variables in the dataset?

Kind regards,

Christian.

No comments:

Post a Comment