Description Usage Arguments See Also
funnel4
This function makes funnel plots or sliced funnel plots from
a data frame like cabg
of mortality data for a number of
hospital cases.
1 2 3 4 5 6 7 | funnel4(obs.prop = NA, denom = NA, pred.prop = NA, names = NA,
plot = "funnel", rank = "none", riskadj = F, RASRplot = F,
ratedenom = NA, mean.target = T, target = NA, plot.target = F,
title = "", scale = 0.7, xrange = c(0, 1000), yrange = c(0, 1),
tails = c(0.001, 0.025), Npoints = 200, xlab = "", ylab = "",
pointsymbol = 16, legend = 1, ypercent = T, bandcols = c("white",
"lightblue", "azure"))
|
obs.prop |
A data frame of mortality observations from a number of hospitals. |
denom |
Number of cases |
pred.prop |
Predicted survival proportion |
names |
Names of hospitals |
plot |
The plot type |
rank |
The plot order - by "precision" or alphabetically by "name" |
riskadj |
Make a risk adjusted plot if TRUE |
RASRplot |
Work with risk adjusted mortality data if TRUE, else raw mortality rates |
ratedenom |
Unused |
mean.target |
Calculate target from mean |
target |
Given target |
plot.target |
Plot target if TRUE |
title |
The plot target |
scale |
Axis scale |
xrange |
x axis range |
yrange |
y axis range |
tails |
A pair of p-values determining the inner and outer confidence limits (?) |
Npoints |
The number of bernouilli trials used in an integer binomial approximation (?) |
xlab |
x axis label |
ylab |
y axis label |
pointsymbol |
NUmeric code identifying the plot symbol |
legend |
Use legend if TRUE |
ypercent |
Show survival as percentage if true |
bandcols |
Vector of colours used in bars |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.