normalize.stochastic {diffusr}R Documentation

Create a stochastically normalized matrix/vector

Description

Create a stochastically normalized matrix/vector

Usage

normalize.stochastic(obj, ...)

Arguments

obj

matrix/vector that is stochstically normalized

...

additional params

Value

returns the normalized matrix/vector

Examples

 W <- matrix(abs(rnorm(10000)), 100, 100)
 stoch.W <- normalize.stochastic(W)

[Package diffusr version 0.1.4 Index]