powered by
This function calculates the number of distinct point in the given data.
Dist.pt(data)
matrix or dataframe consisting of spatial locations with two columns. Each row represents longitude and latitude.
a numeric.
# NOT RUN { Dist.pt(rbind(c(0, 0), c(0, 1), c(1, 0), c(1, 1), c(0, 0))) # }
Run the code above in your browser using DataLab