Learn R Programming

rKIN README

This package applies methods used to estimate animal homerange, but instead of geospatial coordinates, we use isotopic coordinates. The estimation methods include: 1) 2-dimensional bivariate normal kernel utilization density estimator, 2) bivariate normal ellipse estimator, and 3) minimum convex polygon estimator, all applied to stable isotope data. Additionally, functions to determine niche area, polygon overlap between groups and levels (confidence contours) and plotting capabilities.

To install and load rKIN in R, run the following (requires the devtools package):

devtools::install_github("salbeke/rKIN@master")

require(rKIN)

Copy Link

Version

Install

install.packages('rKIN')

Monthly Downloads

241

Version

1.0.4

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Shannon E Albeke

Last Published

March 3rd, 2025

Functions in rKIN (1.0.4)

bw_hnm

Normal mixture bandwidth.
bw_hucv

Least-squares cross-validation bandwidth matrix selector for multivariate data.
getArea

Method to extract Niche Polygon Areas
rodents

Isotopic data from rodent blood samples.
rKIN

rKIN: A package for computating isotopic niche space
createSPDF

Internal helper function
calcOverlap

Calculate Percent Overlap of Isotopic Niche Space
getColors

Create a list of colors for plotKIN function
bw_ref

Normal Reference Distribution.
estKIN

Estimate Kernel Isotope Niche
estEllipse

Estimate Bivariate Normal Ellipse Isotope Niche
getKernelThreshold

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

Create a sequence of points on a circle
estMCP

Estimate Minimum Convex Polygon (MCP) Isotope Niche
plotKIN

Plotting function for rKIN polygons
bw_hlscv

Least-squares cross-validation bandwidth matrix selector for multivariate data.
bw_hbcv

Biased cross-validation bandwidth matrix selector for bivariate data.
bw_hpi

Default Plug-in bandwidth selector using ks::Hpi function.
bw_hns

Normal scale bandwidth using ks::Hns function.
bw_hscv

Smoothed cross-validation bandwidth selector.