rsp: Generates a random matrix to use as a starting point of the...

Description Usage Arguments Value Author(s)

View source: R/rsp.r

Description

Generates a random matrix to use as a starting point of the multistart (SGM-step) algorithm. For some alpha in (0,g), output matrix is weighted towards the bary-center by (1-alpha) and towards another randomly generated doubly-stochastic matrix by alpha.

Usage

1
rsp(n, g)

Arguments

n

the dimension to make the output matrix

g

(short for gamma) a number between 0 and 1 input by the user as an upper bound for step alpha

Value

a random doubly stochastic matrix

Author(s)

Heather Gaddy Patsolic <hgaddy1@jhu.edu>


youngser/VN documentation built on July 18, 2020, 12:48 p.m.