Learn R Programming

Momocs (version 0.2-03)

coo.ldk: Utility to identify landmarks on a matrix or list of coordinates.

Description

coo.ldk allows user to click to identify the closest points that belong to the outline. Typically used to define landmarks.

Usage

coo.ldk(coo, nb.ldk)

Arguments

coo
A list or a matrix of coordinates.
nb.ldk
integer. Indicates the number of landmarks to define.

Value

  • A vector of the coo rows indices that coorespond to the landmarks identified.

See Also

defLandmarks.

Examples

Run this code
data(bot)
coo <- bot@coo[[1]]
coo.ldk(coo, 2) # you have to click now !

Run the code above in your browser using DataLab