Learn R Programming

MortalityLaws (version 2.1.3)

bring_parameters: Bring or Rename Starting Parameters in the Law Functions

Description

Bring or Rename Starting Parameters in the Law Functions

Usage

bring_parameters(law, par = NULL)

Value

Vector or initial model parameters

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.

par

parameters of the selected model. If NULL the default values will be assigned automatically.