calc_peak_density: Peak density value computation

View source: R/calc_peak_density.r

calc_peak_densityR Documentation

Peak density value computation

Description

Computation of the peak value, of a density function with a gaussian kernel.

Usage

calc_peak_density(x)

Arguments

x

A numeric vector

Value

A numeric single value with the computed peak density value.

Examples


x <- rnorm(100)

plot(density(x))

calc_peak_density(x)


vbfelix/relper documentation built on May 10, 2024, 10:50 p.m.