Insert Column into a Matrix
Insert a new column into a matrix.
insertCol( m, c, v = NA, cName = "" )
 m  | 
 matrix.  | 
 c  | 
 column number where the new column should be inserted.  | 
 v  | 
 optional values of the new column.  | 
 cName  | 
 optional character string: the name of the new column.  | 
a matrix with one more column than the provided matrix m.
Arne Henningsen
m <- matrix( 1:4, 2 ) insertCol( m, 2, 5:6 )
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.