Skip to content

Commit

Permalink
replaced mclapply with lapply in find.outliers
Browse files Browse the repository at this point in the history
  • Loading branch information
zarquon42b committed Feb 24, 2014
1 parent 976054e commit b2d425b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/find.outliers.r
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ find.outliers <- function(A,color=4,lwd=1,lcol=2,mahalanobis=FALSE,PCuse=NULL, t
rho <- angle.calc(A$rotated[,,i],A$mshape)
return(rho)
}
rho <- unlist(mclapply(a.list,rhofun))
rho <- unlist(lapply(a.list,rhofun))
A$rho <- rho
} else {
cat("mahalanobis distance is used\n")
Expand Down

0 comments on commit b2d425b

Please sign in to comment.