debug.graph: Debug a graph-file

Description Usage Arguments Value Author(s) See Also Examples

Description

Debug a graph specification on file (ascii-mode only), by checking the specification along the way.

Usage

1
inla.debug.graph(graph.file)

Arguments

graph.file

The filename of the graph (ascii-mode)

Value

If an error is found, then an error message is shows, otherwise the graph-object returned by inla.read.graph() is returned.

Author(s)

Havard Rue hrue@r-inla.org

See Also

inla.read.graph

Examples

1
2
3
4
## Not run:
## cat("3\n 1 1 2n\ 2 1 1\n 3 4\n", file="g.dat")
## g = inla.debug.graph("g.dat")
## End(Not run)

inbo/INLA documentation built on Dec. 6, 2019, 9:51 a.m.