Description Usage Arguments Value
Run the degroot function on a series transition matrices
1 | degrootList(mat.list, Y, all.iter = T, row.normalize = T, self.weight = 1)
|
mat.list: |
a list of matrices |
Y: |
the initial values of the diffusion process |
all.iter: |
T/F indicator of whether every iteration of the diffusion process should be saved |
row.normalize: |
T/F, should the matrices be row normalized before proceeding? |
self.weight: |
numeric value(s) in [0, 1], indicating how much each person weights him-/herself vs. others. 0 indicates full self-weight, and 1 indicates full other-weight. Only used if row.normalize is TRUE. |
If all.iter is TRUE, a matrix of Y X length(mat.list), with the outcome of the diffusion process at each iteration. If all.iter is FALSE, the outcome of the last iteration
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.