
Last chance! 50% off unlimited learning
Sale ends in
is.closed
tests if the last coordinate of coo
provided as a list
or a matrix
is closed, i.e. if the last coordinate is identical as the first.is.closed(coo)
list
or a matrix
of coordinates.logical
, either TRUE
or FALSE
.data(gorf.dat)
coo <- gorf.dat[,,1]
is.closed(coo)
coo.c <- coo.close(coo)
is.closed(coo.c)
coo.cu <- coo.unclose(coo)
is.closed(coo.cu)
Run the code above in your browser using DataLab