You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the following example, base R stats::t.test() works, but rstatix::t_test() doesn't. I think the reason for the error is because of unused factor levels.
Also noticed this today. I think it would be good if the function would still work with unused factor levels. Maybe the function could automatically drop unused factor levels. Potentially with a warning. With the current error message, I found it quite tricky to figure out, what was going wrong.
In the following example, base R
stats::t.test()
works, butrstatix::t_test()
doesn't. I think the reason for the error is because of unused factor levels.If I manually fix the unused factor levels,
rstatix::t_test()
now works.The text was updated successfully, but these errors were encountered: