Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in anova_test output depending on naming of factor levels #209

Open
cw-sander opened this issue Sep 4, 2024 · 0 comments
Open

Error in anova_test output depending on naming of factor levels #209

cw-sander opened this issue Sep 4, 2024 · 0 comments

Comments

@cw-sander
Copy link

cw-sander commented Sep 4, 2024

I noticed a bug in the display of anova_test results. The mapping of factor names and statistics changes depending on the order in which the factors are specified in within = c(factorA, factorB). However, it seems that this error only occurs when the factor levels of one factor are named in a very specific way. As far as I could figure it out, it occurs when the second factor level is the first factor level followed by an underscore and a word beginning with the letter "o". In my case the factor levels were "implied" and "implied_other". The error ceased to occur when I changed the second factor level to "implied other" or "implie_other" or "implied_ather" etc.

R version: 4.2.3
rstatix version: rstatix_0.7.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant