Do you want this?

bwplot(as.factor(vec2) ~ vec1 | as.factor(vec3))

Ernesto Jardim wrote:
I'm ploting some box-and-whisker plots with bwplot but I'm not getting
any box-and-whiskers ... just dots.

I'm using lattice 0.9-16 with R 1.9.1.

Try

library(lattice)
rnorm(60)->vec1
rep(1:3,20)->vec2
rep(LETTERS[1:2],30)->vec3
bwplot(vec1~vec2|vec3)

-- Chuck Cleland, Ph.D. NDRI, Inc. 71 West 23rd Street, 8th floor New York, NY 10010 tel: (212) 845-4495 (Tu, Th) tel: (732) 452-1424 (M, W, F) fax: (917) 438-0894

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to