first_max: Find first local minimum

Description Usage Arguments Value Examples

View source: R/first_max.R

Description

This funciton computes the lowest maximum value of the density estimate of the input numeric vector

Usage

1
first_max(x, plot = FALSE, zero_rm = FALSE)

Arguments

x

A numeric vector of values.

plot

logical indicating if histogram should be plotted.

zero_rm

logical indicating if zeros should be removed from calculation.

Value

A numeric value of the lower local maximum value of the density estimation.

Examples

1
plot(0)

qenvio/dryhic documentation built on March 17, 2020, 8:37 p.m.