Dist.pt {spherepc}R Documentation

The number of distinct points.

Description

This function calculates the number of distinct point in the given data.

Usage

Dist.pt(data)

Arguments

data

matrix or dataframe consisting of spatial locations with two columns. Each row represents longitude and latitude.

Details

This function calculates the number of distinct points in the given data.

Value

a numeric.

Author(s)

Jongmin Lee

Examples

Dist.pt(rbind(c(0, 0), c(0, 1), c(1, 0), c(1, 1), c(0, 0)))

[Package spherepc version 0.1.7 Index]