labelCenters: Label centers, i.e. assign risk categories to all centers

Description Usage Arguments Value Examples

Description

Label centers, i.e. assign risk categories to all centers

Usage

1
labelCenters(standardizedRisks, lambda = NULL, confidenceLevel = 0.5)

Arguments

standardizedRisks

object of class 'standardizedRisk' as produced by the 'standardizeRisks' function

lambda

vector of length two; the first element indicates the clinical tolerance level before flagging as low mortality risk; the second element indicates clinical tolerance level before flagging as high mortality risk; if NULL default values of c(low = 0.2, high = 0.2) are used for direct standardization; for indirect standardization a default value of c(low = 0.05, high = 0.05) is used

confidenceLevel

statistical confidence level; default value 0.5

Value

object of class 'labeledCenters', which is a data frame with columns centerName, centerLabel, lowerCI and upperCI

Examples

1
2
3
4
5
set.seed(130513)
simulatedData <- simulateData()
standardizedRisks <- with(simulatedData, standardizeRisks(patientCovariates = L, center = center, Y = Y))
labeledCenters <- labelCenters(standardizedRisks = standardizedRisks)
head(labeledCenters)

StatGent/RiskStandard documentation built on May 9, 2019, 1:57 p.m.