[R] How to randomize a set of integers in R
olafm at tako.de
Thu Aug 19 15:59:28 CEST 2004
* Susanne Osterkamp <sokamp at web.de> [040819 15:52]:
> I want to validate my data for working with CART.
> I need to now how to create a randomized column of some 6800 intgers
> within R.
Do you want to sample 6800 random integers? In that case try ?runif
(for uniform distribution)
If you want to resample 6800 integers try ?sample
More information about the R-help