Re: [R] ellipse in pairs plot

2008-11-14 Thread Kaveh Vakili
Dear list moderator, I'm sending you a solution i found to the question i asked the list yesterday (i have not been able to figure out how to post it to the list directly). elly<-function(w,col=array(1,dim(w)[1]),pch=array(1,dim(w)[1])){ p<-dim(w)[2] op<-par(mfrow=c(3,3),mar=c

[R] ellipse in pairs plot

2008-11-13 Thread Kaveh Vakili
Hi dear list, I'm scrambling with this: i have a p-dimensional data frame for which i want to have a pairs() plot, with ellipse added in each lower.panel. I want the ellipse's parameter (mu, sigma) to be extracted from the appropriate entries in a pre-computed matrix ("dab" in the code below)