home *** CD-ROM | disk | FTP | other *** search
-
- _C_o_m_b_i_n_e _C_o_l_u_m_n_s _i_n_t_o _a _M_a_t_r_i_x
-
- cbind(...)
-
- _V_a_l_u_e:
-
- cbind takes a sequence of vector and/or matrix argu-
- ments and combines them as the columns of a matrix.
-
- If there are several matrix arguments, they must all
- have the same number of rows and this will be the
- number of rows of the result. If all the arguments are
- vectors, the number of rows in the result is equal to
- the length of the longest vector. Values in shorter
- arguments are recycled to achieve this length.
-
- When the arguments consist of a mix of matrices and
- vectors the number of rows of the result is determined
- by the number of rows of the matrix arguments. Any
- vectors have their values recycled or subsetted to
- achieve this length.
-
- _S_e_e _A_l_s_o:
-
- c, rbind.
-
- _E_x_a_m_p_l_e_s:
-
- cbind(1,1:n)
-
-