Learn R Programming

rKIN (version 1.0.4)

getKernelThreshold: 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))

Value

A list of threshold values for each percent.

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)

Author

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