Learn R Programming

SEMID (version 0.4.1)

MixedGraph: Construct MixedGraph object

Description

Creates an object representing a mixed graph. The methods that are currently available to be used on the mixed graph include

  1. ancestors

  2. descendants

  3. parents

  4. siblings

  5. isSibling

  6. htrFrom

  7. trFrom

  8. getHalfTrekSystem

  9. getTrekSystem

  10. inducedSubgraph

  11. L

  12. O

  13. nodes

  14. numNodes

  15. stronglyConnectedComponent

  16. tianComponent

  17. tianDecompose

see the individual function documentation for more information.

Usage

MixedGraph(
  L = matrix(0, 1, 1),
  O = matrix(0, 1, 1),
  vertexNums = seq(1, length = nrow(L))
)

Value

An object representing the MixedGraph

Arguments

L

see graphID for the appropriate form of L.

O

as for L.

vertexNums

the labeling of the vertices in the graph in the order of the rows of L and O. Labels must be positive integers.