Dear list, I want to plot several variables with splom and in the main
diagonal, instead of the  variable names, I'd like to plot an histogram of
corresponding variables. Searching I did not find the correct syntax, only
some tips in an old post in the list, but this comments help to plot only
 density lines instead of histograms. I had some code, but it fails to plot
(I've commented the problematic lines):


splom(iris[,1:4], panel = function(x, y, ...) {
         panel.xyplot(x, y, ...)
 panel.lmline(x,y,...)
 }
#        , diag.panel=function(x,...){
#  panel.histogram(x,...)
#        }

)

Thanks a lot in advance!

Regards,

Alejo

	[[alternative HTML version deleted]]

