strings(x, smpl = FALSE, equat = FALSE, k = 2)
Strings
' class.This function is especially useful to construct the partial order of relations, and to establish the set of equations in the relational structure.
partial.order
, semigroup
, ltlw
.
## Create the data: 2 binary relations among 3 elements
arr <- round( replace( array(runif(18), c(3,3,2)), array(runif(18),
c(3,3,2))>.5, 1 ) )
## get the strings
strings(arr)
Run the code above in your browser using DataLab