normalize.stochastic: Create a stochastically normalized matrix/vector

Description Usage Arguments Value Examples

View source: R/mat_util.R

Description

Create a stochastically normalized matrix/vector

Usage

1

Arguments

obj

matrix/vector that is stochstically normalized

...

additional params

Value

returns the normalized matrix/vector

Examples

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

Example output

normalizing column vectors!

diffusr documentation built on May 2, 2019, 3:42 a.m.