HI, Dear R community,

HOW to LABEL the bars by the percentage 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]]

