insertRow              package:micEcon              R Documentation

_I_n_s_e_r_t _R_o_w _i_n_t_o _a _M_a_t_r_i_x

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

     Insert Row into a Matrix.

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

     insertRow( m, r, v = NA )

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

      m : Matrix.

      r : Row number where the new Rown should be inserted.

      v : Optional values for the new Row.

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

     a matrix with one more row 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:

     'insertCol'.

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

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

