Skip to content

only 1 bin displayed in plot #32

Description

@sulanyang

Hi,

I have only 1 bin displayed in my plot. Is it because most of my predicted probabilities are less than 0.2?

This is my code.

cal_plot(df, outcome = 'cvd', positive = '1', prediction = 'predrisk_frs', n_bins=10)

This is my plot.
image

Many thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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