funnelslice: Funnel and slice plot generator - wrapped for export to shiny

Description Usage Arguments See Also

View source: R/funnelslice.R

Description

funnelslice This function wraps the core funnel4 function, reducing the parameters to those used by the shinyfunnelapp package.

Usage

1
2
3
4
5
funnelslice(x, plot_title = "NY Cardiac Surgery", plot = "funnel",
  xlabel = "Number of operations per hospital",
  ylabel = "Survival rate (%)", rank = "precision", riskadj = F,
  RASRplot = F, mean.target = T, plot.target = F, ypercent = T,
  tails = c(0.001, 0.025))

Arguments

x

A data frame of mortality observations from a number of hospitals.

plot_title

The plot target

plot

The plot type

xlabel

x axis label

ylabel

y axis label

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

mean.target

Calculate target from mean

plot.target

Plot target if TRUE

ypercent

Show survival as percentage if true

tails

A pair of p-values determining the inner and outer confidence limits

See Also

funnel4


gmp26/funnel documentation built on May 17, 2019, 7:28 a.m.