Skip to content

cut_interval does not split data into quantiles #17

@arokem

Description

@arokem

While playing around with some data, I realized that on this line:

https://github.com/tractometry/tractable/blob/main/R/plot.R#L446

"cut_interval" divides the data up into n equally sized intervals, which is not the same as dividing it up into quantiles. I suspect that we might want "cut_number" instead?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions