normalize.stochastic {diffusr} | R Documentation |
Create a stochastically normalized matrix/vector
normalize.stochastic(obj, ...)
obj |
matrix/vector that is stochstically normalized |
... |
additional params |
returns the normalized matrix/vector
W <- matrix(abs(rnorm(10000)), 100, 100) stoch.W <- normalize.stochastic(W)