lowerHull: Compute the Lower Hull

Description Usage Arguments Value

View source: R/modular_functions.R

Description

lowerHull calculates the y-values corresponding to the lower hull formed from the tangents to a function.

Usage

1
lowerHull(x, x_abs, f, f_params = NULL, supp = c(-Inf, Inf), hx = NULL)

Arguments

x

A numeric vector representing x values.

x_abs

A numeric vector of length k for k > 1, representing the abscissae.

f

A function representing the target sampling distribution.

f_params

A list of any associated parameters of f.

supp

The support of f, as a two-membered numeric vector. Default is c(-Inf, Inf)

hx

The log of the density f at point x

Value

A named list containing the y-values of the lower hull.


bsearchinger/ARS documentation built on Dec. 19, 2021, 12:44 p.m.