make_cluster: Extract a circular cluster from a square point field

View source: R/make_clusters.R

make_clusterR Documentation

Extract a circular cluster from a square point field

Description

Extract a circular cluster from a square point field

Usage

make_cluster(center, r, n_pts)

Arguments

center

Cartesian center of the blob specified as c(x, y).

r

Radius of the blob.

n_pts

Number of points in the cluster.

Value

Vector of points in the shape of a circle with radius r and center (x,y).


Henrik-Kowalkowski/rClustering documentation built on April 13, 2022, 11:32 p.m.