addDetails: Depending on the chosen mortality law, additional details...

View source: R/MortalityLaw_main.R

addDetailsR Documentation

Depending on the chosen mortality law, additional details need to be specified in order to be able to fit the models taking into account it's particularities.

Description

Depending on the chosen mortality law, additional details need to be specified in order to be able to fit the models taking into account it's particularities.

Usage

addDetails(law, custom.law = NULL, parS = NULL)

Arguments

law

The name of the mortality law/model to be used. e.g. gompertz, makeham, ... To investigate all the possible options, see availableLaws function.

custom.law

Allows you to fit a model that is not defined in the package. Accepts as input a function.

parS

Starting parameters used in the optimization process (optional).

Value

A list of model specifications


mpascariu/MortalityLaws documentation built on Jan. 17, 2024, 3:43 a.m.