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)

