getKernelThreshold: Miscellaneous functions to complete kernel 2D estimates: Get...

View source: R/getKernelThreshold.R

getKernelThresholdR Documentation

Miscellaneous functions to complete kernel 2D estimates: Get contour threshold values

Description

Obtains the quantile threshold levels for a vector of probabilities from a kernel density estimate.

Usage

getKernelThreshold(x, levels = c(50, 75, 95))

Arguments

x

Numeric vector of probabilities from a kernel density estimate

levels

Numeric vector of desired percent levels (e.g. c(10, 50, 90). Should not be less than 1 or greater than 99)

Value

A list of threshold values for each percent.

Author(s)

Shannon E. Albeke, Wyoming Geographic Information Science Center, University of Wyoming


salbeke/rKIN documentation built on April 5, 2025, 11:32 p.m.