The R Project SVN R

Rev

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

Rev 7313 Rev 18814
Line 25... Line 25...
25
\examples{
25
\examples{
26
data(PlantGrowth)
26
data(PlantGrowth)
27
plot(PlantGrowth)                                # -> plot.data.frame
27
plot(PlantGrowth)                                # -> plot.data.frame
28
plot(weight ~ group, data = PlantGrowth)         # numeric vector ~ factor
28
plot(weight ~ group, data = PlantGrowth)         # numeric vector ~ factor
29
plot(cut(weight, 2) ~ group, data = PlantGrowth) # factor ~ factor
29
plot(cut(weight, 2) ~ group, data = PlantGrowth) # factor ~ factor
-
 
30
## passing "..." to barplot() eventually:
-
 
31
plot(cut(weight, 3) ~ group, data = PlantGrowth, density = 16*(1:3),col=NULL)
30
 
32
 
31
plot(PlantGrowth$group, axes=FALSE, main="no axes")# extremly silly
33
plot(PlantGrowth$group, axes=FALSE, main="no axes")# extremly silly
32
}
34
}
33
\keyword{hplot}
35
\keyword{hplot}