fitExpExtrapolation {MortalityTables}R Documentation

Fit an exponential function exp(-A*(x-x0)) to the last value (f(100) and f'(100) need to coincide):

Description

Fit an exponential function exp(-A*(x-x0)) to the last value (f(100) and f'(100) need to coincide):

Usage

fitExpExtrapolation(data, idx, up = TRUE, verbose = FALSE)

Arguments

data

data.frame to which an exponential function should be fit

idx

Index of the position of the fit

up

Whether the fit is forward- or backward-facing

verbose

Whether to include data about the fit in the output


[Package MortalityTables version 2.0.5 Index]