search for: invisisbl

Displaying 2 results from an estimated 2 matches for "invisisbl".

Did you mean: invisisble
2012 May 11
1
identify() doesn't return "true" numbers
...s is the code I am using: #################################################################### # Function to allow identifying points in the QQ plot (by mouseclicking) qqInteractive <- function(..., IDENTIFY = TRUE) { qqplot(...) -> X abline(a=0,b=1) if(IDENTIFY) return(identify(X)) invisisble(X) } qqplot.mv.interactive <- function (data, xlim=NULL, ylim=NULL) { x <- as.matrix(data) # n x p numeric matrix center <- colMeans(x) # centroid n <- nrow(x); p <- ncol(x); cov <- cov(x); d <- mahalanobis(x,center,cov) # distances qqInteractive(qchisq(ppoints(n),df=p),d,...
2011 Nov 16
2
outlier identify in qqplot
Dear Community, I want to identify outliers in my data. I don't know how to use identify command in the plots obtained. I've gone through help files and use mahalanobis example for my purpose: NormalMultivarianteComparefunc <- function(x) { Sx <- cov(x) D2 <- mahalanobis(x, colMeans(x), Sx) plot(density(D2, bw=.5), main="Squared Mahalanobis distances, n=nrow(x),