Learn R Programming

Momocs (version 1.2.9)

coo_ldk: Defines landmarks interactively

Description

Allows to interactively define a nb.ldk number of landarks on a shape. Used in other facilities to acquire/manipulate data.

Usage

coo_ldk(coo, nb.ldk)

Arguments

coo

a matrix or a list of (x; y) coordinates.

nb.ldk

integer, the number of landmarks to define

Value

numeric that corresponds to the closest ids, on the shape, from cliked points.

Examples

Run this code
# NOT RUN {
b <- bot[1]
coo_ldk(b, 3) # run this, and click 3 times
coo_ldk(bot, 2) # this also works on Out
# }

Run the code above in your browser using DataLab