Skip to content

anova_test() error in repeated measures ANOVA #216

@Sapiens2025

Description

@Sapiens2025

I have a dataframe named 'weeks'

head(weeks)
# A tibble: 6 × 4
  id    group bag_number   H50
  <fct> <fct> <chr>      <dbl>
1 1     week2 bag_5       4.57
2 2     week2 bag_6       4.62
3 3     week2 bag_7       4.56
4 4     week2 bag_8       4.65
5 5     week2 bag_9       4.47
6 6     week2 bag_10      4.66

When trying to conduct repeated ANOVA with rstatix::anova_test () in weeks with this
rstatix::anova_test(data = weeks, dv = H50, wid=id, within = group)

I get this error: Error in lm.fit(x, y, offset = offset, singular.ok = singular.ok, ...) : 0 (non-NA) cases

'Weeks' does not contain any missing values.
Any help would be appreciated
Thanks

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