LinearExtrapolation: Linear Extrapolation

Description Usage Arguments Examples

Description

(Log)-linearly extrapolate a single (y,x) tuple.

Usage

1
LinearExtrapolation(x, y, xextra, loga)

Arguments

x

A vector of x values.

y

A vector of y values.

xextra

The x for which y should be extrapolated.

loga

Should a log-linear model be fitted?

Examples

1
2
3
4
5
## Not run: 
LinearExtrapolation(x = 1:2, y = c(1, 2), xextra = 3, loga = FALSE)
LinearExtrapolation(x = 1:2, y = c(1, 2), xextra = 3, loga = TRUE)

## End(Not run)

jschoeley/pash documentation built on May 20, 2019, 2:07 a.m.