Learn R Programming

multiplex (version 2.5)

ltlw: First- and Last Letter Laws

Description

Find the First- and Last Letter Laws in the semigroup of relations.

Usage

ltlw(x)

Arguments

x
an object from the `Semigroup' class.

Value

Details

The First- and Last Letter Laws of the semigroup of relations correspond to the right and left zero of the semigroup, and it has some consequences in the interpretation of the results of the relational structure of the network. This function depends on the semigroup of a (recommended) labeled set of relationships.

References

Lorrain, F. Rseaux sociaux et classifications sociales. Hermann, Paris. 1975.

See Also

semigroup, strings.

Examples

Run this code
## Create the data: 3 binary relations among 3 elements
arr <- round( replace( array(runif(27), c(3,3,3)), array(runif(27),
       c(3,3,3))>.75, 1 ) )

## Put labels
dimnames(arr)[[3]] <- list("n","m","<f1>")

## Construct the semigroup
S <- semigroup(arr, type="symbolic")

## Find the Letter Laws
ltlw(S)

Run the code above in your browser using DataLab