home *** CD-ROM | disk | FTP | other *** search
-
- _C_r_e_a_t_e _a _M_a_t_r_i_x
-
- matrix(data=NA, nrow=1, ncol=1, byrow=FALSE)
- as.matrix(x)
- is.matrix(x)
-
- _D_e_s_c_r_i_p_t_i_o_n:
-
- matrix creates a matrix from the given set of values.
- nrow gives the desired number of rows and ncol the
- desired number of columns. If either of nrow or ncol
- is not given, an attempt is made to infer it from the
- length of data and the other parameter. If byrow is
- FALSE (the default) the matrix is filled by columns,
- otherwise the matrix is filled by rows.
-
- as.matrix attempts to turn its argument into a matrix.
- This function is generic.
-
- is.matrix returns TRUE if x is an matrix (i.e. it has a
- dim attribute of length 2) and FALSE otherwise.
-
-