Description Usage Arguments Details Value Warning Note Author(s) See Also Examples

A function to plot the Hasse Diagram of partially ordered relations.

1 2 |

`x` |
a matrix representing ordered relations |

`unord` |
(logical) whether or not the elements not belonging in the order should be included in the diagram |

`attrs` |
(optional) attributes of the diagram |

`main` |
(optional) title of the diagram |

`cex.main` |
(optional) size of the diagram's title |

`bg` |
(optional) the background color of the diagram |

`mar` |
(optional) the margins of the plot |

`shape` |
(optional) the shape of the vertices |

`tcex` |
(optional) the size of the vertex labels |

`col` |
(optional) the color of the vertices |

`col0` |
(optional) the color of the vertices' contour |

`tcol` |
(optional) the color of the text's vertices |

`ecol` |
(optional) the color of the edges |

`lty` |
(optional) the shape of the edges |

`lbs` |
(optional) labels of the elements in the partially ordered set |

`...` |
(optional) other graphical items |

An example of ordered relations is found in the partial order table of relations, which is product of the '`strings`

' option in the `partial.order`

function. Another set of ordered relations comes from the table produced on Galois derivations in the mentioned function.

In either case this function plot either the partial order or a linear order diagram, depending on the results as Hasse diagrams.

A Hasse diagram of the partial order relation.

This function requires that the *Rgraphviz* package is available.

Note that if the elements of the partial order are not labelled, Roman numerals will be given to each element.

Antonio Rivero Ostoic

`partial.order`

, `as.strings`

, `strings`

, `diagram.levels`

, `galois`

.

1 2 3 4 5 6 7 8 9 10 11 12 | ```
## load the data
data("incubA")
## given e.g. a partial order table in the object 'po'
po <- partial.order(as.strings(incubA$IM), type="strings")
## plot the order relation as a Hasse diagram.
## Not run: if(require(Rgraphviz)) {
plot(diagram(po))
}
## End(Not run)
``` |

multiplex documentation built on Dec. 17, 2017, 9:04 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.