# NOT RUN {
data(suicide)
if (require(KernSmooth)) {
oc_youden_kernel(suicide, "dsi", "suicide", oc_metric = "Youden",
pos_class = "yes", neg_class = "no", direction = ">=")
## Within cutpointr
cutpointr(suicide, dsi, suicide, method = oc_youden_kernel)
}
# }
Run the code above in your browser using DataLab