Description Usage Arguments Details Value Note Author(s) Examples
write_causality_graph
writes a causality graph to file
1 2 3 |
graph |
The graph you wish to save. |
file |
The file you wish to read/write |
read_causality_graph
reads a causality graph from file
read_causality_graph
returns an object of class
"causality.graph". An error will be thrown if there does not exist a
valid path to file, graph is not a graph, or the file you wish to read
does not contain a graph in TETRAD format.
file
will be output as a TETRAD compatible graph, and file must
be a TETRAD compatible graph if you wish to read it into R.
Alexander Rix
1 2 3 | ## Not run: write_causality_graph(sachs.dag, file = "sachs")
# Will throw an error if PATH_TO_FILE is invalid
## Not run: graph <-read_causality_graph(file = "PATH_TO_FILE")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.