single.cells {gIPFrm} | R Documentation |
The function finds all single cells under a relational model. Such cells appear as the only positive entries in their row and column in the model matrix.
single.cells(ModelMatrix)
ModelMatrix |
a model matrix of a relational model. |
the row and column indices of the single cells.
Anna Klimova
G = matrix(c( 2,0,0,0,0,
0,1,1,0,0,
0,0,1,1,1), byrow=TRUE, nrow=3) ## a given matrix
single.cells(G)