Description Usage Arguments Value Examples
Plot the standardized risk with confidence limits per center
1 2 3 | plotCenterLabels(standardizedRisks, labeledCenters, yValue = c("size",
"name"), labelColors = c(L = "olivedrab1", A = "black", H = "red"),
labelPch = c(L = 17, A = 20, H = 17), ...)
|
standardizedRisks |
standardized risks as produced by the standardize function |
labeledCenters |
labeled centers as produced by the labelCenters function |
yValue |
value to report on the y axis; one of 'size' (default; center size) or 'name' (center name) |
labelColors |
vector of colors (length 3) for the L, A and H label respectively;
default value is |
labelPch |
vector of plot characters to be used for the L, A and H label resp.;
default value is |
... |
further arguments passed to plot |
no return value; plot is written to the current device
1 2 3 4 5 | set.seed(130513)
simulatedData <- simulateData()
standardizedRisks <- with(simulatedData, standardizeRisks(patientCovariates = L, center = center, Y = Y))
labeledCenters <- labelCenters(standardizedRisks = standardizedRisks)
plotCenterLabels(standardizedRisks = standardizedRisks, labeledCenters = labeledCenters)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.