Learn R Programming

TwoRegression (version 1.1.1)

get_cut_point: 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
)

Value

an object of class `roc`

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.