home *** CD-ROM | disk | FTP | other *** search
-
- _A_r_r_a_y _E_x_t_e_n_t_s
-
- dim(x)
- dim(x) <- values
-
- _V_a_l_u_e:
-
- This function retrieves the vector of extents of the
- array given as its argument. The second form above is
- used to shape a vector as an array by specifying its
- extents.
-
- _S_e_e _A_l_s_o:
-
- ncol, nrow.
-
- _E_x_a_m_p_l_e_s:
-
- # simple versions of nrow and ncol
- # could be defined as follows
- nrow <- function(x) dim(x)[1]
- ncol <- function(x) dim(x)[2]
-
-