append                 package:base                 R Documentation

_V_e_c_t_o_r _M_e_r_g_i_n_g

_D_e_s_c_r_i_p_t_i_o_n:

     Add elements to a vector.

_U_s_a_g_e:

     append(x, values, after=length(x))

_A_r_g_u_m_e_n_t_s:

       x: the vector to be modified.

  values: to be included in the modified vector.

   after: a subscript, after which the values are to be appended.

_V_a_l_u_e:

     A vector containing the values in 'x' with the elements of
     'values' appended after the specified element of 'x'.

_R_e_f_e_r_e_n_c_e_s:

     Becker, R. A., Chambers, J. M. and Wilks, A. R. (1988) _The New S
     Language_. Wadsworth & Brooks/Cole.

_E_x_a_m_p_l_e_s:

     append(1:5, 0:1, after=3)

