Skip to content

glance on an aov model reports the wrong df value #212

@cmartin

Description

@cmartin

Unless I'm misunderstanding something, glance should report the same df as in summary (e.g. 2 in this example) but it seems to always report df+1

library(broom)

d <- data.frame(
  y = c(3,4,3.5,4.1,6,7),
  group = c("a","b","a","b","c","c")
)
m <- aov(y~group,data = d)

summary(m)
glance(m)

This is with broom 0.4.2 (the current version with tidyverse if I'm not mistaken)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions