get_cut_point: Develop a cut-point as part of the process for developing a...

View source: R/fit_2rm__main.R

get_cut_pointR Documentation

Develop a cut-point as part of the process for developing a two-regression algorithm

Description

Develop a cut-point as part of the process for developing a two-regression algorithm

Usage

get_cut_point(
  data,
  activity_var,
  included_activities,
  positive_activities,
  cp_var
)

Arguments

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.

Value

an object of class 'roc'


TwoRegression documentation built on Sept. 5, 2022, 9:07 a.m.