powered by
Allows to interactively define a nb.ldk number of landarks on a shape. Used in other facilities to acquire/manipulate data.
nb.ldk
coo_ldk(coo, nb.ldk, close = FALSE, points = TRUE)
a matrix or a list of (x; y) coordinates.
matrix
integer, the number of landmarks to define
integer
logical whether to close (typically for outlines)
logical
logical whether to display points
numeric that corresponds to the closest ids, on the shape, from cliked points.
numeric
# 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