Skip to content

Commit

Permalink
spell checked
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismainey committed Dec 12, 2019
1 parent 888af56 commit 162ba18
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ It draws funnel plots using `ggplot2` and allows users to specify whether they w
There is a variant method for this, used in the NHS' Summary Hospital Mortality Indicator'<br>
[Summary Hospital-level Mortality Indicator, NHS Digital, SHMI specification](https://digital.nhs.uk/data-and-information/publications/ci-hub/summary-hospital-level-mortality-indicator-shmi) <br>

This uses a log-transformation and truncation of the distribution for calculating overdispersion, whereas Spieglehalter's methods use a square-root and Winsorisation.
This uses a log-transformation and truncation of the distribution for calculating overdispersion, whereas Spiegelhalter's methods use a square-root and Winsorisation.


This package was originally developed for use in CM's PhD project, but published on github in case it's of use for others.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ specification](https://digital.nhs.uk/data-and-information/publications/ci-hub/s
<br>

This uses a log-transformation and truncation of the distribution for
calculating overdispersion, whereas Spieglehalter’s methods use a
calculating overdispersion, whereas Spiegelhalter’s methods use a
square-root and Winsorisation.

This package was originally developed for use in CM’s PhD project, but
Expand Down
9 changes: 3 additions & 6 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## Release summary
This is a minor bug-fix for the FunnelPlotR where support material and function defaults did not match. Updated documentation, no other changes made.
This is a minor bug-fix for the FunnelPlotR where support material and function defaults did not match and added CITATION file. Updated documentation, no other changes made.

## Test environments
* local windows 7, R 3.6.1
Expand All @@ -15,11 +15,8 @@ This is a minor bug-fix for the FunnelPlotR where support material and function
## R CMD check results
There were no ERRORs or WARNINGs.

NOTES on win-builder and r-hub about possibly invalid links.
These refer to DOIs for references in the vignette. I've manually tested all links and they are valid.

Further note on win-builder and some r-hub builds about a CRAN reference not being in canonical form. This has been changed to use https as suggested.
NOTE on r-hub about possibly mis-spelt word, that is not mis-spelt.


## Downstream dependencies
There are currently no downstream dependencies for this package.
There are currently no downstream dependencies for this package to my knowledge.
Binary file modified man/figures/README-funnel1-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/README-funnel2-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion vignettes/funnel_plots.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ sum(mod$weights * mod$residuals^2)/mod$df.residual


This suggests the variance is 6.24 times the condition mean, and definitely overdispersed.
This is a huge topic, but applying overdispersed limits using either SHMI or Spieglehalter methods adjust for this by inflating the limits:
This is a huge topic, but applying overdispersed limits using either SHMI or Spiegelhalter methods adjust for this by inflating the limits:

```{r, funnel2, message=FALSE, fig.align='center', fig.retina=5, collapse=TRUE}
funnel_plot(numerator=medpar$los, denominator=medpar$prds, group = medpar$provnum,
Expand Down

0 comments on commit 162ba18

Please sign in to comment.