Provides an R function to plot mortality rates in funnel or slice form.
This is an R package under development and is not ready for use.
To use from another RStudio project, install the devtools package, and then load the funnel package like this:
devtools::install_github("gmp26/funnel")
library(funnel)
?funnel4
Create a new RStudio version controlled project from this distribution.
Note that the package is now configured to build documentation and vignettes on Build and Load
. This may require LaTeX and XCode to run - see below. To build without documentation, use Build > More > Conigure Build Tools...
, and revise the roxygen
configuration options.
See Package Development Prerequisites. Generating documentation requires a working C++ compiler and \LaTeX. On MacOSX this amounts to installing XCode and LaTeX so the documentation can be built.
Build and Load
and looking at the vignette outputs.We could do with adding some local tests in this package so we don't need to push changes to test.
Unsolicited contributions are welcome as pull requests. Please first raise an issue here in case the change is already planned.
funnel4
to funnel
?Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.