electrograph.exam {ElectroGraph} | R Documentation |
Compute a full analysis of electro-social properties of the system
electrograph.exam(e.graph, sample.edges=FALSE, sample.per=NULL)
e.graph |
An object initialized by the electrograph() function. |
sample.edges |
If TRUE, samples of edges are taken as opposed to the full set. |
sample.per |
Sets the number of samples taken if sample.edges is TRUE. Defaults to the square root of the number of edges. |
The original electrograph object, augmented with electro-social quantities:
distance.mat |
The equivalent electro-social resistances for each pair of nodes in matrix form; if sample.edges is TRUE, edge importance is approximated. |
conductances |
A vector of electro-social conductances for each specified pair of nodes. |
voltages |
A matrix with each column representing the voltages at each node. |
currents.node |
A matrix with each column representing the current through each node. |
source.sink |
The source-sink vectors used in the examination. |
current.matrix |
The average current through each directed edge. |
This is currently performed automatically when the constructor function ``electrograph'' is called, but can be executed manually as well.
Andrew C. Thomas <act@acthomas.ca>
latt <- cbind(rep(1:5,5),sort(rep(1:5,5))) latt.e <- electrograph (make.sociomatrix.from.lattice(latt)$sociomatrix, ohmic=FALSE) latt.exam <- electrograph.exam(latt.e)