"Yann Clough" <[EMAIL PROTECTED]> writes: > Dear useRs > > I am looking for a way to randomise the values within a matrix: > the conditions are that the sums of the rows and the sums of the columns > should > remain the same as in the original matrix. > > Any help would be appreciated
Er, explain further... Are you shuffling around constant numbers (as in the 0/1 values in item analysis) or can they be integers of varying magnitude (as in coloured-balls-in-urns), or ? -- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - ([EMAIL PROTECTED]) FAX: (+45) 35327907 ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
