check_elife_dist: Check parameters of extended lifetime distributions

View source: R/distributions.R

check_elife_distR Documentation

Check parameters of extended lifetime distributions

Description

Check parameters of extended lifetime distributions

Usage

check_elife_dist(
  rate,
  scale,
  shape,
  family = c("exp", "gp", "weibull", "gomp", "gompmake", "extgp", "extweibull", "perks",
    "beard", "perksmake", "beardmake")
)

Arguments

rate

rate parameter(s); for models with Makeham component, the last entry should be part of the rate vector

scale

scale parameter

shape

vector of shape parameter(s).

family

string indicating the parametric model, one of exp, gp, gomp, gompmake, weibull, extgp, extweibull, perks, perksmake, beard and beardmake

Value

The function has no return value and is only used to throw error for invalid arguments.


longevity documentation built on Nov. 12, 2023, 5:07 p.m.