How to transpose the following matrix every six rows using R language? That is, after transposition, the first row becomes numbers 1-6, the second row becomes numbers 7-12, and so on. Finally, a 10*6 matrix is obtained.
simple <- matrix(1:60,nrow=60,ncol=1)
Sincerely ask all scholars.