The R Project SVN R

Rev

Rev 68948 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 68948 Rev 88589
Line 31... Line 31...
31
}
31
}
32
\seealso{
32
\seealso{
33
  \code{\link{contrasts}}, \code{\link{contr.sum}}, etc.
33
  \code{\link{contrasts}}, \code{\link{contr.sum}}, etc.
34
}
34
}
35
\references{
35
\references{
36
  Chambers, J. M. and Hastie, T. J. (1992)
36
  \bibshow{R:Chambers+Hastie:1992:c2}
37
  \emph{Statistical models.}
-
 
38
  Chapter 2 of \emph{Statistical Models in S}
-
 
39
  eds J. M. Chambers and T. J. Hastie, Wadsworth & Brooks/Cole.
-
 
40
}
37
}
41
\examples{
38
\examples{
42
## reset contrasts to defaults
39
## reset contrasts to defaults
43
options(contrasts = c("contr.treatment", "contr.poly"))
40
options(contrasts = c("contr.treatment", "contr.poly"))
44
tens <- with(warpbreaks, C(tension, poly, 1))
41
tens <- with(warpbreaks, C(tension, poly, 1))