home *** CD-ROM | disk | FTP | other *** search
/ Big Green CD 8 / BGCD_8_Dev.iso / NEXTSTEP / UNIX / Educational / R-0.49-MI / R-0.49-I / help / base / data.frame < prev    next >
Encoding:
Text File  |  1997-04-23  |  1.4 KB  |  49 lines

  1.     
  2.     _D_a_t_a _F_r_a_m_e_s
  3.     
  4.          data.frame(..., row.names=NULL, col.names=NULL,
  5.                  as.is=FALSE)
  6.     
  7.          as.data.frame(x)
  8.          is.data.frame(x)
  9.     
  10.          row.names(data.frame.obj)
  11.          print(data.frame.obj)
  12.     
  13.     _A_r_g_u_m_e_n_t_s:
  14.     
  15.              ... : these arguments are of either the form value
  16.                    or tag=value.  Component names are created
  17.                    based on the tag (if present) or the deparsed
  18.                    argument itself.
  19.     
  20.        row.names : a character vector giving the row names for
  21.                    the data frame.
  22.     
  23.        col.names : a character vector giving names for the vari-
  24.                    ables in the data frame.
  25.     
  26.            as.is : a logical value indicating whether character
  27.                    variables should be left ``as is'' or con-
  28.                    verted to factors.
  29.     
  30.     _V_a_l_u_e:
  31.     
  32.          A data frame.  Data frames are the fundamental data
  33.          structure used by most of R's modeling software.  They
  34.          are tightly coupled collections of variables which
  35.          share many of the properties of matrices.  The main
  36.          difference being that the columns of a data frame may
  37.          be of differing types (numeric, factor and character).
  38.     
  39.          as.data.frame attempts to coerce its argument to be a
  40.          data frame.
  41.     
  42.          is.data.frame returns TRUE if its argument is a data
  43.          frame and FALSE otherwise.
  44.     
  45.     _S_e_e _A_l_s_o:
  46.     
  47.          read.table.
  48.     
  49.