The R Project SVN R

Rev

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

Rev 59039 Rev 61168
Line 68... Line 68...
68
}
68
}
69
\seealso{\code{\link{interaction.plot}} for a \sQuote{standard graphic}
69
\seealso{\code{\link{interaction.plot}} for a \sQuote{standard graphic}
70
  of designed experiments.}
70
  of designed experiments.}
71
\examples{
71
\examples{
72
require(stats)
72
require(stats)
73
plot.design(warpbreaks)# automatic for data frame with one numeric var.
73
plot.design(warpbreaks)  # automatic for data frame with one numeric var.
74
 
74
 
75
Form <- breaks ~ wool + tension
75
Form <- breaks ~ wool + tension
76
summary(fm1 <- aov(Form, data = warpbreaks))
76
summary(fm1 <- aov(Form, data = warpbreaks))
77
plot.design(       Form, data = warpbreaks, col = 2)# same as above
77
plot.design(       Form, data = warpbreaks, col = 2)  # same as above
78
 
78
 
79
## More than one y :
79
## More than one y :
80
utils::str(esoph)
80
utils::str(esoph)
81
plot.design(esoph) ## two plots; if interactive you are "ask"ed
81
plot.design(esoph) ## two plots; if interactive you are "ask"ed
82
 
82