HI, Dear R Community,

Does anyone know how to label the values in the conditional histogram?
Thanks so much!!!

h<- sample(1:14, 319, rep=T)
c<- sample(1:14, 608, rep=T)
n<- sample(1:14, 1140, rep=T)
vt<-c(h, c, n)
ta<-rep(c("h", "c", "n"), c(319, 608, 1140))

to<-data.frame(vt,ta)

library(lattice)
histogram(~ vt|ta, data=to, layout=c(1,3), labels=TRUE, main="Histograms by
target", col="skyblue")



-- 
Sincerely,
Changbin
--

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to