Description Usage Arguments Examples
This function will return a single data frame consisting of (1) the original sample data and (2) two categorical variables which record whether each sample data point is In Control or Extreme, relative to the two sets of alphas specified. These two categorical variables might be useful for additional analyses or coloring the funnel plot.
1 2 | funscore(input, benchmark, alpha = 0.95, alpha2 = 0.998,
method = "approximate")
|
input |
A data frame of your sample data, in the format outlined above. |
benchmark |
A number between 0 and 1 representing the benchmark (e.g. null) estimate for which confidence limits are calculated for. If not specified, the overall proportion of events is used. |
alpha |
A number between 0 and 1 representing the desired confidence limit (e.g. 0.95) |
alpha2 |
A number between 0 and 1 representing the desired confidence limit (e.g. 0.998) |
method |
Choose between approximate or exact binomial control limits. |
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.