Jose Andres wrote:
Hi all,
I am trying to generate a distribution for the mean euclidean
distance between a group of n elements in a given surface (the
elements are randomly picked). Fo doing so I've written the
following code:
sampling- function(x,size) {
x-
Hi all,
I am trying to generate a distribution for the mean euclidean
distance between a group of n elements in a given surface (the
elements are randomly picked). Fo doing so I've written the
following code:
sampling- function(x,size) {
x- x[sample(1:nrow(x),size),]
mat-