How do I create a random table of 0's and 1's with a certain density instead of a probability?
For Example:
Manipulate[Table[RandomChoice[{1 - density, density} -> {0, 1}, {10}]],
{density, 0, 1, .01}]
There is not always a 50% density of 0's to 1's.