Description Usage Arguments Value Examples
View source: R/binaryPropMatrix.R
Create a matrix with n columns filled with zeros and ones, as the probabilities of occurrences.
1 | binaryProbMatrix(nVar = 3, asList = TRUE)
|
nVar |
number of variables, Default: 3 |
asList |
return as a list of matrix or one matrix, Default: TRUE |
list of matrix or matrix
1 2 3 4 | if(interactive()){
binaryPropMatrix(nvar=4)
binaryPropMatrix(nvar=4, asList=F)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.