insertCol.RdInsert a new column into a matrix.
insertCol( m, c, v = NA, cName = "" )a matrix with one more column than the provided matrix m.
m <- matrix( 1:4, 2 )
insertCol( m, 2, 5:6 )
#> [,1] [,2] [,3]
#> [1,] 1 5 3
#> [2,] 2 6 4