getKernelThreshold {rKIN}R 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


[Package rKIN version 1.0.2 Index]