View source: R/utilityFunctions.R
Fit an exponential function exp(-A*(x-x0)) to the last value (f(100) and f'(100) need to coincide):
1 | fitExpExtrapolation(data, idx, up = TRUE, verbose = FALSE)
|
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.