I have factor variables in a data frame. I want some of them to be ordered (such as education) and some of them unordered (such as sex).
I create some of the variables and some get created automatically.
Is there a way to check that? Maybe using str()
or some other method?