locs2ps: locs2ps

View source: R/utils.R

locs2psR Documentation

locs2ps

Description

Cluster localizations into point sets using DBSCAN

Usage

locs2ps(
  points,
  eps,
  minPts,
  keep.locprec = TRUE,
  keep.channel = TRUE,
  cluster.2d = FALSE
)

Arguments

points

a point set as a data frame of coordinates with columns x,y,z.

eps

DBSCAN parameter, size of the epsilon neighbourhood

minPts

DBSCAN parameter, number of minimum points in the eps region

keep.locprec

logical (default: TRUE), whether to preserve the localization precision columns

keep.channel

logical (default: TRUE), whether to preserve channel information column

cluster.2d

logical (default: FALSE), whether to cluster only using x,y (and ignore z)

Value

a list of matrices with columns x,y,z and eventually locprec[z] and names set to the cluster indices.


LOMAR documentation built on March 18, 2022, 6:05 p.m.