single.cells: Single Cells under a Relational Model

Description Usage Arguments Value Author(s) Examples

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

1
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

1
2
3
4
5
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)  

gIPFrm documentation built on May 1, 2019, 9:16 p.m.