Skip to content

mod_eval doesn't work for models of form y ~ 1 #11

@dtkaplan

Description

@dtkaplan
> lm(hp ~ 1, data = mtcars) -> mod
> mod_eval(mod)

Error in abs(n) : non-numeric argument to mathematical function

> mod_eval(mod, nlevels = 1)

Error in abs(n) : non-numeric argument to mathematical function

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions