cp: Candidates' Color Priority

Description Usage Arguments Value Examples

View source: R/lima.R

Description

Classification of candidates according to waiting list time on dialysis' quartiles and two cPRA cutoff values.

Usage

1
cp(data = candidates, q2 = 60, q3 = 100, cPRA1 = 50, cPRA2 = 85)

Arguments

data

A data frame with information for candidates' waiting list.

q2

A numerical value for the median of candidates' waiting list.

q3

A numerical value for the third quartile of candidates' waiting list.

cPRA1

A numerical value (0-100) for the lower cPRA cutoff.

cPRA2

A numerical value (0-100) for the higher cPRA cutoff. cPRA2 must be greater than cPRA1.

Value

A data frame with a new column 'cp' (color priority)

Examples

1
cp(data = candidates, q2 = 100, q3 = 60, cPRA1 = 50, cPRA2 = 85)

balima78/histoc documentation built on Jan. 13, 2022, 4:46 a.m.