Learn R Programming

diffusr (version 0.1.4)

normalize.stochastic: 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

Run this code
# NOT RUN {
 W <- matrix(abs(rnorm(10000)), 100, 100)
 stoch.W <- normalize.stochastic(W)
# }

Run the code above in your browser using DataLab