insertCol              package:micEcon              R Documentation

_I_n_s_e_r_t _C_o_l_u_m_n _i_n_t_o _a _M_a_t_r_i_x

_D_e_s_c_r_i_p_t_i_o_n:

     Insert Column into a Matrix.

_U_s_a_g_e:

     insertCol( m, c, v = NA )

_A_r_g_u_m_e_n_t_s:

      m : Matrix.

      c : column number where the new column should be inserted.

      v : Optional values of the new column.

_V_a_l_u_e:

     a matrix with one more column than the provided matrix 'm'.

_A_u_t_h_o_r(_s):

     Arne Henningsen ahenningsen@agric-econ.uni-kiel.de

_S_e_e _A_l_s_o:

     'insertRow'.

_E_x_a_m_p_l_e_s:

        m <- matrix( 1:4, 2 )
        insertCol( m, 2, 5:6 )

