Skip to content
Prev 309043 / 398513 Next

How generate random numbers from given vector???

Hello,

The other options is to use the sample() function.

test2 <- matrix (rep(sample(number1, size = 5), times=3), nrow=3)


Pradip Muhuri