Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in uniroot(p, interval) : f.lower = f(lower) is NA #4

Open
BonnieMcLean opened this issue Feb 28, 2023 · 0 comments
Open

Error in uniroot(p, interval) : f.lower = f(lower) is NA #4

BonnieMcLean opened this issue Feb 28, 2023 · 0 comments

Comments

@BonnieMcLean
Copy link

Hey,

Thank you for this useful package! I have been using the cutoff() function together with the em function. However, sometimes the cutoff() function throws the following error: Error in uniroot(p, interval) : f.lower = f(lower) is NA

Below is the bimodal distribution for which I get the error (after putting the numbers into em(), and then into cutoff())

image

Do you have any idea what could be causing the error?

Thanks for the help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant