Description Usage Arguments Details Value Note Author(s) References See Also Examples
Returns an object of class "incidmat"
which is a matrix indicating
the start and end node for each edge in the graph.
1 2 3 4 5 |
x |
object representing a mathematical graph. |
expand |
logical flag: if |
general |
logical flag: if |
... |
generic arguments. |
The incidmat
function is generic, with a method for
class "mathgraph"
.
is.incidmat
is the membership function for this class.
an object of class "incidmat"
which is a matrix with rows representing
nodes and columns representing edges.
Generally speaking, there is a 1
in the location where an edge begins
and a -1
in the location where it ends.
Frank Harary defines incidence matrix with expand = FALSE
.
From S Poetry, Patrick J. Burns, Section 13.3, p. 312 http://www.burns-stat.com/pages/spoetry.html
Nick Efthymiou
Chachra, V., Ghare, P. M. and Moore, J. M. (1979). Applications of Graph Theory Algorithms. Elvesier North Holland, New York.
Harary, Frank (1969). Graph Theory, p. 160. Addison Wesley.
adjamat
, mathgraph
,
getpath.incidmat
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.