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

smooth.method="density" doesn't work in 'roc' #49

xrobin opened this issue Apr 7, 2019 · 0 comments


None yet
1 participant
Copy link

commented Apr 7, 2019

roc(aSAH$outcome, aSAH$ndka, smooth=TRUE, smooth.method="density")
Error in"bw", bw, sep = "."))(roc$predictor) : 
  need at least 2 data points

This is because roc$predictor is not set at the time smooth.roc is called.

Make sure to re-enable tests by removing the skip_if call in test-roc.R once fixed.

@xrobin xrobin added the bug label Apr 7, 2019

@xrobin xrobin closed this in 31f1f48 Apr 10, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.