Skip to content

Very rare issue in quantcut #22

@simon-lowe

Description

@simon-lowe

In quantcut I am very rarely getting the following error message:

Error in if (pairs[1, i] == pairs[1, i - 1] && pairs[1, i] == pairs[2, :
missing value where TRUE/FALSE needed

Because it is happening inside a function running over random draws I don't have a reproducible example. The quantcut call is the following:
quantcut(pred_p, q = n_groups, labels = FALSE)

Looking at the source code, I can't actually figure what the issue is. Any ideas?

Thanks!

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