find.width: Calculate the Width of a KDE

View source: R/dist_histogram_analysis.R

find.widthR Documentation

Calculate the Width of a KDE

Description

find the full width half-maximum (or other width at percent maximum) of a kde.

Usage

find.width(kde, frac = 0.5)

Arguments

kde

The input kde

frac

The height in the interval 0,1 at which to compute the width.

Value

A list with 4 elements:

center

X coordinate of the peak center

left

X coordinate of the left intercept

right

X coordinate of the right intercept

frac

The value of the input parameter 'frac'


rogerswt/wadeTools documentation built on Feb. 16, 2023, 7:47 a.m.