home *** CD-ROM | disk | FTP | other *** search
-
- _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
-
- contrasts(x)
- contrasts(x) <- ctr
-
- _A_r_g_u_m_e_n_t_s:
-
- x : a factor.
-
- ctr : either a matrix whose columns give coeffi-
- cients for contrasts in the levels of x, or
- the (quoted) name of a function which com-
- putes such matrices.
-
- _V_a_l_u_e:
-
- These functions are used to set and view the contrasts
- associated with a factor. If contrasts are not set for
- a factor the default functions named the system options
- are used.
-
- _S_e_e _A_l_s_o:
-
- contr.helmert, contr.poly, contr.sum, contr.treatment,
- glm, lm.
-
-