Description Usage Arguments Details Value Author(s)
We can compute expected hitting times for the random walks instead of using the propagation approach.
1 2 | hitting.time(Asparse, n.eigs = 20, from = NULL, to = NULL,
sum = "none")
|
n.eigs |
The number of eigenvectors used for the approximation. If this is smaller than 2, the pseudo inverse will be computed |
from |
Source nodes for which we need the transition probabilties. |
to |
Target nodes for which we need the transition probabilties.#' |
sum |
Can be "none", "from", "to" or "both" and will sum up the propagation matrix over one or the other or both lists. |
Using from
and to
nodes avoids to compute the full
propagation matrix which is too large to fit in memory. When from
and
to
are NULL the full matrix will be computed. For sum
, "none"
returns a "from" by "to" matrix; "from" returns a vector of length
nrow(Asparse); "to" returns a vector of length nrow(Asparse) and "both"
returns a nrow(Asparse) by 2 matrix with the from
and to
vectors. The i-th component of the "from sum" represents the average
hitting time going from node i to any of the "to" nodes. The i-th component
of the "to sum" represents the average hitting time going from any "from"
node to node i
Table of hitting times
Matthias Heinig <matthias.heinig@helmholtz-muenchen.de>
—————————————————————————–
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.