kdeContours: Calculate kernel density contour lines at specified...

View source: R/graphics.R

kdeContoursR Documentation

Calculate kernel density contour lines at specified probability levels Calculate kernel density contour lines at specified probability levels with MASS:kde2d and display with graphics::contour

Description

Calculate kernel density contour lines at specified probability levels Calculate kernel density contour lines at specified probability levels with MASS:kde2d and display with graphics::contour

Usage

kdeContours(i, id, prob, cols, m, ...)

Arguments

i

a data.frame containing unique ID, x, y

id

a unique ID column name

prob

a vector of probability levels

cols

a vector of colors

m

unique levels of the ID column (used to match colors)

...

additional arguments to graphics::contour

Value

estimated kernel density contours


ncss-tech/soilReports documentation built on April 25, 2024, 1:03 a.m.