Description Usage Arguments Details Author(s)
In the paper and notes this is matrix is called M#'
1 2 | propagation(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.
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.