fitExpExtrapolation: Fit an exponential function exp(-A*(x-x0)) to the last value...

Description Usage Arguments

View source: R/utilityFunctions.R

Description

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

Usage

1
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


kainhofer/r-mortality-tables documentation built on Dec. 17, 2020, 3:53 a.m.