mExp: Calculate the exponent of a given matrix

View source: R/mExp.R

mExpR Documentation

Calculate the exponent of a given 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).

Details

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.

Value

Returns an exponentiated flow matrix.

Author(s)

Alberto Monteiro (https://stat.ethz.ch/pipermail/r-help/2007-May/131330.html) Matthew K. Lau

See Also

findPathLength


SEELab/enaR documentation built on April 29, 2023, 8:40 a.m.