search for: melly

Displaying 1 result from an estimated 1 matches for "melly".

Did you mean: kelly
2008 Nov 14
1
ellipse in pairs plot
...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). Can it be done ? Thanks in advance, melly<-function (x, y, col = par("col"), bg = NA, pch = par("pch"),cex = 1){ points(x, y, pch = pch, col = col, bg = bg, cex = cex) ok <- is.finite(x) & is.finite(y) if (any(ok)) ellipse(mu=dab$center[?],sigma=dab$cov[?,?]) } pairs(wf[,1:5],diag.panel=b...