Learn R Programming

cutpoint (version 1.0.0)

factors_combine: Combine Factors

Description

Intern function, used for creation of a matrix with all factor combinations of the cutpoint-variable

Usage

factors_combine(bandwith = 0.1, nb_of_cp = 1, nrm, symtails = FALSE)

Value

All factor combinations of the dichotomized variable.

Arguments

bandwith

numeric, determines the minimum size per group of the dichitomised variable

nb_of_cp

numeric, number of cutpoints searching for

nrm

numeric, number of rows in cpdata after removing observations with missing values in biomarker

symtails

logical, if TRUE the tails of the dichotomised variable are symmetrical