Rdocumentation
powered by
Learn R Programming
enaR (version 2.9.1)
mExp: Calculates the Exponent of a Matrix
Description
Function for calculating the pathway proliferation of flows in a network model through matrix exponentiation.
Usage
mExp(x='matrix', n=2)
Arguments
x
A matrix.
n
Desired exponent (i.e. the path length).
Value
Returns an exponentiated flow matrix.
References
This function was originally designed by Alberto Monteiro in the following R help thread: https://stat.ethz.ch/pipermail/r-help/2007-May/131330.html.
See Also
findPathLength