crAdjust: Helper for 'makecluster' for 'type' = "cr" and 'fast' = FALSE

View source: R/rapt_cluster-sim.R

crAdjustR Documentation

Helper for makecluster for type = "cr" and fast = FALSE

Description

Adjustment method to get correct number of points in each cluster for the type = "cr" cluster generation method of makecluster function.

Usage

crAdjust(mat, diff, X, Y)

Arguments

mat

Matrix filled with points and associated cluster index values.

diff

The difference between the number of values needed and the number in mat

X

The overlaying point pattern. A pp3 object.

Y

The underlaying point pattern. A pp3 object.

Value

Updated mat matrix containing the correct number of cluster points.


aproudian2/rapt documentation built on Dec. 15, 2022, 4:24 a.m.