`MortalityLaws` Installation

knitr::opts_chunk$set(collapse = TRUE, comment = "#>")

The package can be installed from two different sources, CRAN or GitHub. Most people would choose the first option (see below).

Install stable version from CRAN

The MortalityLaws package can be installed from CRAN as follows:

  1. Make sure you have the most recent version of R
  2. Run the following code in your R console

Updating to the latest version of the package

You can track and contribute to the development of MortalityLaws at https://github.com/mpascariu/MortalityLaws. To install it:

  1. Install the release version of devtools from CRAN with
  1. Make sure you have a working development environment.

    • Windows: Install Rtools.
    • Mac: Install Xcode from the Mac App Store.
    • Linux: Install a compiler and various development libraries (details vary across different flavors of Linux).
  2. Install the development version of devtools.



Now you are ready to go. Happy modelling!

Check the other vignettes and examples provided in the help pages.

Try the MortalityLaws package in your browser

Any scripts or data that you put into this service are public.

MortalityLaws documentation built on Aug. 8, 2023, 5:10 p.m.