single.cells {gIPFrm} | R Documentation |
Single Cells under a Relational Model
Description
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.
Usage
single.cells(ModelMatrix)
Arguments
ModelMatrix |
a model matrix of a relational model. |
Value
the row and column indices of the single cells.
Author(s)
Anna Klimova
Examples
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)
[Package gIPFrm version 3.1 Index]