c                    package:base                    R Documentation

_C_o_m_b_i_n_e _V_a_l_u_e_s _i_n_t_o _a _V_e_c_t_o_r _o_r _L_i_s_t

_D_e_s_c_r_i_p_t_i_o_n:

     This is a generic function which combines its arguments.

     The default method combines its arguments to form a vector. All
     arguments are coerced to a common type which is the type of the
     returned value.

_U_s_a_g_e:

     c(..., recursive=FALSE)

_A_r_g_u_m_e_n_t_s:

     ...: objects to be concatenated.

recursive: logical. If `recursive=TRUE', the function recursively
          descends through lists combining all their elements into a
          vector.

_S_e_e _A_l_s_o:

     `unlist' and `as.vector' to produce attribute-free vectors.

_E_x_a_m_p_l_e_s:

     c(1,7:9)
     c(1:5, 10.5, "next")

     c(list(A=c(B=1)), recursive=TRUE)

     c(options(), recursive=TRUE)
     c(list(A=c(B=1,C=2), B=c(E=7)), recursive=TRUE)

