Generate a sample indicator vector
Generates a logical vector of length n
with p TRUE
s.
randconf(n, p)
n |
positive integer. |
p |
positive integer. |
A logical vector.
randconf(10,3)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.