Skip to content

Points and lm, how to ensure nothing gets clipped #457

@kylebutts

Description

@kylebutts

Hi Grant, is there a way to ensure that points and/or the linear model don't get clipped outside the axes? One idea would be to pass a character vector to type to ensure this?

library(tinyplot)
tinyplot(Sepal.Width ~ Petal.Width | Species, data = iris, type = "lm")
tinyplot_add(type = "p")

tinyplot(Sepal.Width ~ Petal.Width | Species, data = iris, type = "p")

Created on 2025-08-21 with reprex v2.1.1

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