Skip to content

Error in the homework #92

@adelaidewedholm

Description

@adelaidewedholm

Spent a lot of time trying to figure out why this won't run. Tried to reset the data frame, reran everything, tried to rename it, and changed the knitting pattern. Any help is appreciated.

This is the error message from when I tried to knit to an html.

Error:
! object 'maple_lm' not found
Backtrace:

  1. └─base::summary(maple_lm)

This is my code:


library(car)
# Summary table
summary(maple_lm)

# Coefficients as data frame (if needed)
as.data.frame(coef(maple_lm))

# Type III ANOVA (lm only)

Anova(maple_lm, type = 3)

library(broom)

tidy_lm <- broom::tidy(maple_lm)
tidy_lm  # now this is a proper data frame

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