space | R Documentation |
Examine the space of incidence matrices with fixed marginals
space(R, C)
R |
vector of row sums |
C |
vector of column sums |
This implementation attempts to ennumerate all matrices in the space, but a complete ennumeration is not guaranteed. The cardinality of the space is often unknown and can be quite large. Therefore, exercise caution when examining the space of matrices larger than 5x5.
a list containing (a) a list of all matrices in the space and (b) a matrix of their perturbations
space(R = c(2,1,1), C = c(1,1,2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.