Relative Content

Tag Archive for rmatrixvectorreshapeblock

Convert vector to matrix by blocks -reshape

just a quick question
I am struggling in R to convert a list of numbers to a matrix that has a fixed number of rows
and the numbers are placed in triplets (blocks of 3 rows) at a time
The elements are numbers but I will just show the position where I want them to be placed.