powered by
RANDBETWEEN
Random sampling (like Excel's function RANDBETWEEN).
RANDBETWEEN(range, n = 1, seed = NULL)
Numeric or character vector.
Sample size for sampling. Default is 1.
1
Random seed.
Numeric or character vector (the same class as range).
range
# NOT RUN { RANDBETWEEN(1:10, n=1000) %>% Freq() RANDBETWEEN(LETTERS, n=1000) %>% Freq() # }
Run the code above in your browser using DataLab