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 / range < prev    next >
Encoding:
Text File  |  1997-04-23  |  618 b   |  26 lines

  1.     
  2.     _R_a_n_g_e _o_f _V_a_l_u_e_s
  3.     
  4.          range(..., na.rm=FALSE)
  5.     
  6.     _D_e_s_c_r_i_p_t_i_o_n:
  7.     
  8.          range returns a vector containing the minimum and max-
  9.          imum of all the values present in its arguments.  If
  10.          na.rm is FALSE, an NA value in any of the arguments
  11.          will cause values of NA to be returned, otherwise NA
  12.          values are ignored.
  13.     
  14.          This definition of range should not be confused with
  15.          the sample range.
  16.     
  17.     _S_e_e _A_l_s_o:
  18.     
  19.          min, max.
  20.     
  21.     _E_x_a_m_p_l_e_s:
  22.     
  23.          print(r.x <- range(rnorm(100)))
  24.          diff(r.x) #-- THE sample range
  25.     
  26.