Description Usage Arguments Value See Also Examples
Plot observed vs. expected risks
1 2 |
standardizedRisks |
object of class 'standardizedRisks' as produced by by the standardizeRisks function |
labeledCenters |
center labels as produced by the labelCenters function |
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 and points |
no return value; a plot is written to the current device
standardizeRisks
1 2 3 4 5 | set.seed(130513)
simulatedData <- simulateData()
standardizedRisks <- with(simulatedData, standardizeRisks(patientCovariates = L, center = center, Y = Y))
labeledCenters <- labelCenters(standardizedRisks = standardizedRisks)
plotRisks(standardizedRisks = standardizedRisks, labeledCenters = labeledCenters)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.