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 / contrasts < prev    next >
Encoding:
Text File  |  1997-04-23  |  737 b   |  28 lines

  1.     
  2.     _G_e_t _a_n_d _S_e_t _C_o_n_t_r_a_s_t _M_a_t_r_i_c_e_s
  3.     
  4.          contrasts(x)
  5.          contrasts(x) <- ctr
  6.     
  7.     _A_r_g_u_m_e_n_t_s:
  8.     
  9.                x : a factor.
  10.     
  11.              ctr : either a matrix whose columns give coeffi-
  12.                    cients for contrasts in the levels of x, or
  13.                    the (quoted) name of a function which com-
  14.                    putes such matrices.
  15.     
  16.     _V_a_l_u_e:
  17.     
  18.          These functions are used to set and view the contrasts
  19.          associated with a factor.  If contrasts are not set for
  20.          a factor the default functions named the system options
  21.          are used.
  22.     
  23.     _S_e_e _A_l_s_o:
  24.     
  25.          contr.helmert, contr.poly, contr.sum, contr.treatment,
  26.          glm, lm.
  27.     
  28.