Description Usage Arguments Value Examples
Label centers, i.e. assign risk categories to all centers
1 | labelCenters(standardizedRisks, lambda = NULL, confidenceLevel = 0.5)
|
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 |
confidenceLevel |
statistical confidence level; default value 0.5 |
object of class 'labeledCenters', which is a data frame with columns centerName, centerLabel, lowerCI and upperCI
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.