RME_stoch {RMAT}R Documentation

Generate an ensemble of stochastic matrices

Description

Given the same arguments as RM_stoch, this function returns an ensemble of random stochastic matrices. While random matrices usually do not exude unique properties on their own, they do indeed have deterministic properties at the ensemble level in terms of their spectral statistics.

Usage

RME_stoch(N, ..., size)

Arguments

N

number of dimensions of the square matrix

...

pass any default-valued parameters taken as arguments by RM_stoch()

size

the size of the ensemble (i.e. number of matrices)

Value

An ensemble (list) of stochastic matrices as specified by the matrix arguments.

Examples

# Generate an ensemble of random 5x5 transition matrices of size 20.
ensemble <- RME_stoch(N = 5, size = 20)

# Generate an ensemble of symmetric random 5x5 transition matrices of size 20.
ensemble <- RME_stoch(N = 5, symm = TRUE, size = 20)


[Package RMAT version 0.2.0 Index]