lcMethodRandom function

Specify a random-partitioning method