[R] Generate a random bistochastic matrix
Florent Bresson
f_bresson at yahoo.fr
Mon Oct 16 10:22:05 CEST 2006
Please, I would like to generate a random bistochastic matrix, that is a squared matrix of non-negative numbers with each row and each column sum to 1, for example :
.2 .3 .5
.6 .3 .1
.2 .4 .4
I don't know of to code this. Do you have any idea ?
Thanks
Florent Bresson
___________________________________________________________________________
Demandez à ceux qui savent sur Yahoo! Questions/Réponses
More information about the R-help
mailing list