binmat {hyperdirichlet} | R Documentation |
Create a matrix of all binary combinations for use with the hyperdirichlet distribution
binmat(n, alternatives = NULL, pnames=NULL)
n |
Number of binary digits |
alternatives |
The alternatives; prototypically TRUE and
FALSE , but default NULL , taken to mean 0 and
1 , is easier on
the eye |
pnames |
Optional vector specifying the column names; default of
NULL means to use p1 ,p2 etc |
Robin K. S. Hankin
binmat(4) binmat(3,alternatives=c(TRUE,FALSE))