Skip to content

Bug 18058 - Document to warn of issues using lm() with summary functions in the formula #90

Open
@hturner

Description

@hturner

Bug 18058 describes some behaviour that the user finds unexpected, which is due to using the subset argument with a model using summary functions in the formula (mean(x)) in the provided example.

The problems with doing this are discussed on Bugzilla.

@mmaechler suggests this bug report could be resolved by improving the documentation, by adding a note that using summary functions in the formula is a bad idea!

Metadata

Metadata

Assignees

No one assigned

    Labels

    AnalysesAnalysesDocumentationIssues in the documentationRR 2025Issues reserved for R Dev Day @ Rencontres R 2025needs patchImplement the agreed fix and prepare a patch for review

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions