Skip to content

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

@cw-sander

Description

@cw-sander

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions