sample.int {math} | R Documentation |
sample.int(n,
size = "n",
replace = FALSE,
prob = NULL);
returns an integer vector that could be used for represents the element index the generated integer vector in this function is base from 1