cavitySearch: Search a function for non-log concavity

Description Usage Arguments Value

View source: R/modular_functions.R

Description

cavitySearch checks that a particular function is log-concave

Usage

1
cavitySearch(f, f_params, x)

Arguments

f

The function to evaluate, as an expression.

f_params

A list of any associated parameters of f.

x

The value at which to evaluate the derivative of f.

Value

logical that evaluates to TRUE if the density is log-concave at the specified value, and FALSE otherwise.


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