Description Usage Arguments Details Value
These are miscellaneous functions that can be applied any to causality.graph object.
1 2 3 4 5 6 7 8 9 10 11 12 13 | is.cyclic(graph)
is.acyclic(graph)
is.directed(graph)
is.nonlatent(graph)
is.latent(graph)
parents(graph)
children(graph)
|
graph |
a causality.graph |
is.cyclic and is.acyclic determine whether or not
graph is cyclic/acyclic. It infers this from the class, or by
using the sort method.
is.directed determines if graph is directed, ie,
the only edge type is "-->"
is.nonlatent determines whether or not graph
contains only nonlatent edge types ("-->", "---").
is.latent determines whether or not graph contains
only latent edge types
("o->", "o-o", "<->", "++>", "~~>").
parents and children calculates the parents and children
of each node in graph respectively.
is.cyclic, is.acyclic, is.directed, is.nonlatent,
and is.latent all return TRUE or FALSE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.