README.md

clinicalr: Clinical calculations for R

Lifecycle: experimental CRAN status

The clinicalr package is a collection of R functions to perform (basic) clinical calculations in medical research. User documentation can be found on GitHub.io.

Help and pull requests are more than welcome.

Functions

Design ideas

Reliable

Practical

Practical notes on the use of the unit attribute

If applicable, functions will return numeric values with a unit attribute using the units package. The idea is to be as explicit as possible to the end user about the generated data. However, the unit attributes may sometimes be bothersome. Use units::drop_units(x) to drop the unit attribute. Load the ggforce package (an extension of ggplot) if you want to incorporate the unit attribute in the scales of a ggplot figure (see ggforce reference page Position scales for units data).

How to install

Clinicalr is not (yet) available on CRAN. Install devtools. Then use devtools to install clinicalr directly from GitHub using the remotes package.

install.packages("remotes")
remotes::install_github("ls31/clinicalr")

How to update

remotes::install_github("lc31/clinicalr")

Ideas for the future



LS31/clinicalcalculations documentation built on Nov. 20, 2020, 6:59 a.m.