by default factor(x) in #rstats creates levels on the sorted unique values x panels <- c("pre-test", "post-test") factor(panels) #> [1] pre-test post-test #> Levels: post-test pre-test❌ factor(panels, levels = panels) #> [1] pre-test post-test #> Levels: pre-test post-test✔️

Dec 8, 2021 · 7:18 PM UTC

1
3
16
Replying to @tjmahr
This should be a public service announcement! 😉
1