gsi.simshape          package:compositions          R Documentation

_I_n_t_e_r_n_a_l _f_u_n_c_t_i_o_n: _R_e_s_h_a_p_e _a_n _o_b_j_e_c_t _t_o _t_h_e _s_h_a_p_e _t_y_p_e _o_f _a_n_o_t_h_e_r

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

     Reshape an object to the shape type of another

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

               gsi.simshape(x,oldx)
               

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

       x: the data to be returned

    oldx: a data of the intended shape

_D_e_t_a_i_l_s:

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

     x is shaped as oldx

_N_o_t_e:

     Do not use gsi.* functions directly since they are internal
     functions of the package

_R_e_f_e_r_e_n_c_e_s:

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

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

     gsi.simshape(matrix(1:4,nrow=1),1:3)

