library(lattice)

hisfunc<- function (vari) {
histogram(~ vari|target, data=total, type="count", layout=c(1,3),
labels=TRUE, main="Histograms by target", col="skyblue")
}

hisfunc(total$acid)


HI, guys,

I am using the hisfunc to get histograms for different variables, for the
title of the histogram, I want to have different name for each variable. how
can I  DO ?

Thanks!






-- 
Sincerely,
Changbin

	[[alternative HTML version deleted]]

