The R Project SVN R

Rev

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

Rev 6411 Rev 7309
Line 73... Line 73...
73
\examples{
73
\examples{
74
data(InsectSprays)
74
data(InsectSprays)
75
boxplot(count ~ spray, data = InsectSprays, col = "lightgray")
75
boxplot(count ~ spray, data = InsectSprays, col = "lightgray")
76
 
76
 
77
data(OrchardSprays)
77
data(OrchardSprays)
78
boxplot(decrease ~ treatment, data = OrchardSprays, log = "y", col="bisque")
78
boxplot(decrease ~ treatment, data = OrchardSprays,
-
 
79
        log = "y", col="bisque")
79
 
80
 
80
## boxplot(.) for a matrix:
81
## boxplot(.) for a matrix:
81
mat <- cbind(Uni05= (1:100)/21, Norm= rnorm(100),
82
mat <- cbind(Uni05= (1:100)/21, Norm= rnorm(100),
82
             T5 = rt(100,df=5), Gam2= rgamma(100, shape=2))
83
             T5 = rt(100,df=5), Gam2= rgamma(100, shape=2))
83
boxplot(data.frame(mat), main= "boxplot(data.frame(mat), main=...)")
84
boxplot(data.frame(mat), main= "boxplot(data.frame(mat), main=...)")