powered by
Generates a logical vector of length n with p TRUEs.
n
p TRUE
randconf(n, p)
positive integer.
A logical vector.
sample
# NOT RUN { randconf(10,3) # }
Run the code above in your browser using DataLab