Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upALE doesn't preserve factor level order in the output #82
Comments
|
Ceteris Paribus does that:
|
|
Not that easy, as Maybe the easiest solution would to add some postprocessing that will convert characters into factors with an ordered derived from the input. |
|
Yes, this should be the best solution. |
|
CP is working fine
it's a problem with |
|
Sure, I meant that it is working fine. We can just sort
|

Consider the following code:
I deliberately changed the factor levels to showcase the problem.
_x_column should probably be sorted ond2$genderlevels (they matter in computation). The same may apply to allaggregate_profilesoutputs.