View source: R/rapt_cluster-sim.R
randomTakeAway | R Documentation |
makecluster
to take away random cluster pointsWhen superfast
argument of makecluster
is TRUE
,
there may be random points that need to be removed from the existing clusters
of the the underlaying pattern. This function does just that.
randomTakeAway(cluster.indices, n, N, s)
cluster.indices |
A vector containing the indices of the current cluster points |
n |
The number of points that need to be removed randomly |
N |
The number of points in the entire underlaying pattern. |
s |
The random seed for the random selection of points to take away. |
New indices vector containing new cluster points randomly placed.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.