funnelPlot: Funnel plot comparing institutional performance

Description Usage Arguments Value References See Also Examples

Description

Funnel plot comparing institutional performance

Usage

1
2
3
funnelPlot(standardizedRisks, xValue = c("size", "precision"),
  confidenceLineColors = c("black", "red"), confidenceLineLty = c("dashed",
  "dotted"), ...)

Arguments

standardizedRisks

standardized risk as computed by the standardizeRisks function

xValue

value to be plotted on the x axis, one of 'size' or 'precision'

confidenceLineColors

vector of length two; colors for the 95 is c("black", "red")

confidenceLineLty

vector of length two; line types for the 95 is c("solid", "solid")

...

further arguments passed to plot

Value

no return value; a plot is drawn on the current device

References

Spiegelhalter, David J. (2005). Funnel plots for comparing institutional performance, Statistics in Medicine, 24(8), p. 1185–1202.

See Also

standardizeRisks

Examples

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

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