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 / vector < prev    next >
Encoding:
Text File  |  1997-04-23  |  700 b   |  24 lines

  1.     
  2.     _V_e_c_t_o_r _T_y_p_e_s
  3.     
  4.          vector(type="logical", length=0)
  5.          as.vector(x,mode="any")
  6.          is.vector(x)
  7.     
  8.     _D_e_s_c_r_i_p_t_i_o_n:
  9.     
  10.          vector produces a vector of the given length and type.
  11.          Logical vector elements are initialized to FALSE,
  12.          numeric vector elements to 0 and character vector ele-
  13.          ments to "".
  14.     
  15.          as.vector attempts to coerce its argument into a vector
  16.          of mode mode (the default is to coerce to whichever
  17.          mode is most convenient).  The attributes of x are
  18.          removed.
  19.     
  20.          is.vector returns TRUE if x is a vector (of mode logi-
  21.          cal, factor, integer, real or character) and FALSE oth-
  22.          erwise.
  23.     
  24.