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


rKIN documentation built on Oct. 3, 2023, 1:06 a.m.