get.stochastic() was renamed to stochastic_matrix() to create a more
consistent API.
Usage
get.stochastic(
graph,
column.wise = FALSE,
sparse = igraph_opt("sparsematrices")
)Arguments
- graph
The input graph. Must be of class
igraph.- column.wise
If
FALSE, then the rows of the stochastic matrix sum up to one; otherwise it is the columns.- sparse
Logical, whether to return a sparse matrix. The
Matrixpackage is needed for sparse matrices. The defaultNULLuses thesparsematricesigraph option.
Related documentation in the C library
get_stochastic(), get_stochastic_sparse(), vcount(), edges(), get_eids(), ecount()
