modified.exp.lower.inv: Modified exponential function with lower bound

Description Usage Arguments Details Value Examples

Description

Modified exponential function with lower bound

Usage

1
modified.exp.lower.inv(x, lower.limit = 0)

Arguments

x

Point to evaluate modified exponential function and gradient

lower.limit

Lower limit of the modified exponential function; defaults to 0

Details

Evaluates the inverse modified exponential function (log(x - lower.bound)) and its gradient (1 / (x - lower.bound)).

Value

Returns a list with two elements, each with the same number of elements as x

value

Value of the inverse modified exponential function at x

gradient

Value of the gradient of the inverse modified exponential function at x

Examples

1
2
3
4
5
x <- seq(0.005, 5, length.out = 100)
exp.result <- modified.exp.lower.inv(x)

plot(exp.result$value ~ x, type = "l")
plot(exp.result$gradient ~ x, type = "l")

tkmckenzie/ikde documentation built on May 13, 2019, 9:53 p.m.