ldk_contour {Momocs}R Documentation

Draws kernel density contours around landmark

Description

Using kde2d in the MASS package.

Usage

ldk_contour(ldk, nlevels = 5, grid.nb = 50, col = "grey60")

Arguments

ldk

an array (or a list) of landmarks

nlevels

the number of contour lines

grid.nb

the grid.nb

col

a color for drawing the contour lines

Value

a drawing on the last plot

See Also

kde2d, ldk_confell, ldk_chull

Other plotting functions: coo_arrows(), coo_draw(), coo_listpanel(), coo_lolli(), coo_plot(), coo_ruban(), ldk_chull(), ldk_confell(), ldk_labels(), ldk_links(), plot_devsegments(), plot_table()

Other ldk plotters: ldk_chull(), ldk_confell(), ldk_labels(), ldk_links()

Examples

coo_plot(MSHAPES(wings))
ldk_contour(wings$coo)

[Package Momocs version 1.4.1 Index]