View source: R/coo-ldk-utilities.R
ldk_check | R Documentation |
A simple utility, used internally, mostly by Ldk methods,
in some graphical functions, and notably in l2a.
Returns an array of landmarks arranged as (nb.ldk) x (x; y) x (nb.shapes)
,
when passed with either a list, a matrix or an array of coordinates.
If a list is provided, checks that the number of landmarks is consistent.
ldk_check(ldk)
ldk |
a |
an array
of (x; y) coordinates.
Other ldk helpers:
def_links()
,
links_all()
,
links_delaunay()
#coo_check('Not a shape')
#coo_check(matrix(1:10, ncol=2))
#coo_check(list(x=1:5, y=6:10))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.