The R Project SVN R

Rev

Rev 59039 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 59039 Rev 61150
Line 41... Line 41...
41
  Wadsworth & Brooks/Cole.
41
  Wadsworth & Brooks/Cole.
42
}
42
}
43
\seealso{
43
\seealso{
44
  \code{\link{factor}};
44
  \code{\link{factor}};
45
  \code{\link{:}} where \code{f:g} is similar to
45
  \code{\link{:}} where \code{f:g} is similar to
46
  \code{interaction(f, g, sep=":")} when \code{f} and  \code{g} are factors.
46
  \code{interaction(f, g, sep = ":")} when \code{f} and  \code{g} are factors.
47
}
47
}
48
\examples{
48
\examples{
49
a <- gl(2, 4, 8)
49
a <- gl(2, 4, 8)
50
b <- gl(2, 2, 8, labels = c("ctrl", "treat"))
50
b <- gl(2, 2, 8, labels = c("ctrl", "treat"))
51
s <- gl(2, 1, 8, labels = c("M", "F"))
51
s <- gl(2, 1, 8, labels = c("M", "F"))