set_labells() has a label order issue
frankcsliu opened this issue · comments
frankcsliu commented
As shown in the practice, the label "22" in the example code cannot stay in the right place, compared to the result using ordered(labels=).
example data file here-- https://jumpshare.com/v/9P1DetXkvdpuYI9vnAkw+/TEDS2018.rda
example code here-- https://jumpshare.com/v/SRaNm9MfFLY9xvv5MyiH+/issues02.rmd
Daniel commented
Do you have a reproducible example?
frankcsliu commented
I did provide the data and code in my post.
Daniel commented
I couldn't get the code running.
frankcsliu commented
here is the updated code: https://jmp.sh/HCWv4Vm+/issue.r