Is this the type of graph you are interested in? If so, we can
refine its details
## weights
## t1 t2 t3
## A .5 .4 .3
## B .5 .2 .1
## C .0 .4 .6
weights <- matrix(c(.5,.4,.3, .5,.2,.1, .0,.4,.6), 3,3, byrow=T,
dimnames=list(c("A","B","C"), c("t1","t2","t3")))
weights2 <- data.frame(weights=as.vector(weights),
time=rep(dimnames(weights)[[2]], c(3,3,3,)),
var=rep(dimnames(weights)[[1]], 3))
weights2
barchart(var ~ weights | time, data=weights2)
For learning about graphics in S-Plus I recommend our book
Statistical Analysis and Data Display: An Intermediate Course with
Examples in S-Plus, R, and SAS
by
Richard M. Heiberger and Burt Holland
which has just been published by Springer. You can get information at
http://www.springeronline.com/0-387-40270-5
Rich
|