View source: R/InternalFunctions_PUGMM.R
rand.member | R Documentation |
Performs a random partition of objects into classes.
rand.member(n.obs, G)
n.obs |
Number of objects |
G |
Number of classes |
No empty classes can occur.
A binary and row-stochastic matrix with n.obs
rows and G
columns.
rand.member(10, 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.