Skip to content

Commit

Permalink
Minor bug fix for default outlier labelling
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismainey committed Dec 11, 2019
1 parent c693137 commit a372b15
Show file tree
Hide file tree
Showing 7 changed files with 58 additions and 19 deletions.
7 changes: 3 additions & 4 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: FunnelPlotR
Type: Package
Title: Funnel Plots for Indirectly-Standardised Ratios
Version: 0.2.1
Version: 0.2.2
Authors@R: c(
person("Chris", "Mainey", ,"chris.mainey@uhb.nhs.uk", role= c("aut", "cre"),
comment = c(ORCID ="0000-0002-3018-6171")
Expand All @@ -11,7 +11,7 @@ Authors@R: c(
Maintainer: Chris Mainey <chris.mainey@uhb.nhs.uk>
Description: An implementation of the Spiegelhalter (2005) <doi:10.1002/sim.1970> Funnel plots for reporting standardised ratios, with overdispersion adjustment.
License: MIT + file LICENSE
URL: https://chrismainey.github.io/FunnelPlotR, https://github.com/chrismainey/FunnelPlotR
URL: https://chrismainey.github.io/FunnelPlotR, https://github.com/chrismainey/FunnelPlotR
BugReports: https://github.com/chrismainey/FunnelPlotR/issues
Encoding: UTF-8
LazyData: true
Expand All @@ -20,12 +20,11 @@ Imports: ggrepel,
Depends: ggplot2,
dplyr,
rlang
RoxygenNote: 6.1.1
RoxygenNote: 7.0.2
Suggests:
testthat (>= 2.1.0),
knitr,
rmarkdown,
COUNT,
tidyr
VignetteBuilder: knitr

6 changes: 5 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
# FunnelPlotR 0.2.2

- Minor bug fix for discrepancy between documentation and function defaults

# FunnelPlotR 0.2.1

- Added custom scaling arguments
- Removed the aggregation option. It gives the same results for pre-aggreagated data either way.
- Removed the aggregation option. It gives the same results for pre-aggregated data either way.
- Removed redundant pkgdown material
- Cleaned up directories and hidden internal functions
- New HEX Sticker! Some people didn't like the old colours so I've gone safer.
Expand Down
2 changes: 1 addition & 1 deletion R/funnel_plot.R
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
#' @import ggplot2


funnel_plot <- function(numerator, denominator, group, label_outliers = 95,
funnel_plot <- function(numerator, denominator, group, label_outliers = 99,
Poisson_limits = FALSE, OD_adjust = TRUE, method = "SHMI", Winsorise_by = 0.1,
title="Untitled Funnel Plot", multiplier = 1, x_label = "Expected",
y_label = "Standardised Ratio",xrange = "auto", yrange = "auto",
Expand Down
9 changes: 7 additions & 2 deletions man/OD_adjust_func.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 11 additions & 2 deletions man/build_limits_lookup.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 14 additions & 3 deletions man/draw_plot.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 17 additions & 6 deletions man/funnel_plot.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a372b15

Please sign in to comment.