element                package:e1071                R Documentation

_E_x_t_r_a_c_t _E_l_e_m_e_n_t_s _o_f _a_n _A_r_r_a_y

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

     Returns the element of 'x' specified by 'i'.

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

     element(x, i)

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

       x: Array of arbitrary dimensionality.

       i: Vector of the same length as 'x' has dimension.

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

     Friedrich Leisch

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

     Extract

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

     x <- array(1:20, dim=c(2,5,2))
     element(x, c(1,4,2))

