fliplr                package:matlab                R Documentation

_M_A_T_L_A_B _m_a_t_r_i_x _f_l_i_p _f_u_n_c_t_i_o_n_s

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

     Flips matrices either left-right or up-down.

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

     fliplr(object)
     flipud(object)

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

  object: vector or matrix to be flipped

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

     These are S4 generic functions.

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

     Return value is the same type as argument 'object'.

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

     P. Roebuck, roebuck@mdanderson.org

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

     'rot90'

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

     fliplr(1:9)
     flipud(1:9)     # same as previous since vectors have no orientation in R
     fliplr(matrix(1:9, 3, 3, byrow = TRUE))
     flipud(matrix(1:9, 3, 3, byrow = TRUE))

