new_place: Choose a new place when conditions are bigger than matrix...

Description Usage Arguments Value Examples

View source: R/new_place.R

Description

Select a random cell in a matrix, when one choosed neigbors cell is out matrix dimetions, new_place applay periodic conditions.

Usage

1
new_place(coordinates,data)

Arguments

coordinates

an integer object of class integer.

data

matrix

Value

chhoose.

Examples

1
2
3
4
n<-10
p<-0.5
data<- clusters_matrix(n,p)
data

FrankBaut/RandomClustering documentation built on Feb. 19, 2020, 2:07 a.m.