Description Usage Arguments Examples
function to generate random proportions whose rowSums = 1
1 | genProportions(ncol, nrow, var.names = NULL)
|
ncol |
numeric |
nrow |
numeric |
var.names |
a vector of strings |
1 2 3 | genProportions(ncol=5, nrow=5)
genProportions(ncol=3, nrow=25)
genProportions(ncol=3, nrow=5, var.names=c("red", "blue", "green"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.