Skip to content

Commit

Permalink
updated github references
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismainey committed Jun 1, 2023
1 parent bd223d3 commit 186189b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
1 change: 1 addition & 0 deletions cran-comments.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

### Resubmission - 01/06/2023
I have updated some of the URLS to the most current DOI for for references, made links all https, included trailing slashes where they resolve. All other links tested and current.
Updated Github reference in vignette, and deprecated arguments for ggplot2 in other vignette.



Expand Down
4 changes: 2 additions & 2 deletions vignettes/changing_funnel_plot_options.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ funnel_plot(denominator=medpar$prds,numerator=medpar$los
## Changing labels
funnel_plot(denominator=medpar$prds,numerator=medpar$los
, group = medpar$provnum, limit=99 ,label = "outlier"
, draw_unadjusted = TRUE, xrange=c(0, 400), yrange=c(0,2))
, draw_unadjusted = TRUE, x_range=c(0, 400), y_range=c(0,2))
```

Expand Down Expand Up @@ -157,6 +157,6 @@ my_plot <- plot(fp)
# Add an additional geom to plot
my_plot +
geom_vline(aes(xintercept=400), linetype = "dashed", colour="red", size=2)
geom_vline(aes(xintercept=400), linetype = "dashed", colour="red", linewidth=2)
```
5 changes: 2 additions & 3 deletions vignettes/funnel_plots.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,8 @@ knitr::opts_chunk$set(

Funnel plots are a common tool for comparing organisations or units using proportions or standardised rates. A common use of them is for monitoring mortality at hospitals. This is an introductory post on the subject, that gives a little information about them and how they are constructed. It is deliberately light on theory, focusing on use, some of the theory is referenced for interested readers.

This post also uses a funnel plot function, for indirectly standardised ratios, that I built as part of my PhD work. The function is based on `ggplot2` [@wickhamGgplot2ElegantGraphics2009], and is available at https://github.com/chrismainey/FunnelPlotR/, although it's a work in progress.

There are different kinds of funnel plot, but this post focuses on the type used to compare standardised mortality and other similarly constructed indicators .
There are different kinds of funnel plot, for this vignette, we will focuses on the type used to compare standardised mortality and other similarly constructed indicators.

## Why do we use them?

Expand Down Expand Up @@ -104,7 +103,7 @@ Here we will apply this to some data by picking up the `medpar` dataset discusse
### Installation

```{r install, eval=FALSE}
devtools::install_github("https://github.com/chrismainey/FunnelPlotR")
devtools::install_github("https://github.com/nhs-r-community/FunnelPlotR")
```


Expand Down

0 comments on commit 186189b

Please sign in to comment.