Displaying 1 result from an estimated 1 matches for "30x73".
Did you mean:
0x73
2007 Oct 16
1
error in sample ()
I am trying to get a random matrix based on an original matrix called
disperser.mx, with dimensions 30x73
When I write the following code:
>scramble = sample (disperser.mx)
>newmat = matrix(scramble, nrow=30)
I get the following warning message and a very weird matrix with 30 rows but
only 3 columns shown below:
Warning message:
data length [73] is not a sub-multiple or multiple of the number...