View source: R/fit_2rm__main.R
get_cut_point | R Documentation |
Develop a cut-point as part of the process for developing a two-regression algorithm
get_cut_point(
data,
activity_var,
included_activities,
positive_activities,
cp_var
)
data |
the data on which to perform the operation |
activity_var |
character scalar. Name of the variable that indicates what activity each data point corresponds to. |
included_activities |
character vector. All activities included in the data subset to be used for developing the cut-point |
positive_activities |
character vector. Activities considered part of the positive class |
cp_var |
Character scalar. Name of the variable on which the cut-point will be based. |
an object of class 'roc'
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.