permute.to.zero.lowertri | R Documentation |
Permutes a square matrix until all the lower triangular elements are zero.
permute.to.zero.lowertri(x)
x |
A square matrix of order n with at least n*(n-1)/2 zero elements. |
A square matrix
.
Chris Brien
permute.square
terms.marginality <- matrix(c(1,0,0,0,0, 0,1,0,0,0, 0,1,1,0,0,
1,1,1,1,0, 1,1,1,1,1), nrow=5)
terms.marginality <- permute.to.zero.lowertri(terms.marginality)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.