| oc_manual | R Documentation |
This function simply returns cutpoint as the optimal cutpoint.
Mainly useful if bootstrap estimates of the out-of-bag performance of a
given cutpoint are desired, e.g. taking a cutpoint value from the literature.
oc_manual(cutpoint, ...)
cutpoint |
(numeric) The fixed cutpoint. |
... |
To capture further arguments that are always passed to the method function by cutpointr. The cutpointr function passes data, x, class, metric_func, direction, pos_class and neg_class to the method function. |
Other method functions:
maximize_boot_metric(),
maximize_gam_metric(),
maximize_loess_metric(),
maximize_metric(),
oc_mean(),
oc_median(),
oc_youden_kernel(),
oc_youden_normal()
cutpointr(suicide, dsi, suicide, method = oc_manual, cutpoint = 4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.