On Sep 25, 2013, at 5:55 AM, steric wrote:
It was just a question to see if it was possible on a large data
set. I
wasn't looking for a flame war. New strategy is simply new strategy.
Half of
my time spent on R is trying to find a better way.
If you say why you want to do a global test with such a function and
what function you had in mind for a single vector, then perhaps:
lapply( dfrm[sapply(dfrm, is.numeric)],
your_preferred_normaility_check_fun)
If you specify the statistical issues, then there might be a more
specific response. There is a long history of people coming to Rhelp
asking for tests of normality and being given similar advice as I
gave. There are also many people who mistakenly believe that you need
normality of predictor variables to do regression.
There is en entire Task View on robust methods. There is also:
install.packages(TeachingDemos)
library(TeachingDemos)
?SnowsPenultimateNormalityTest
You are asked in the Posting Guide to do some searching of the
archives. I use Markmail for my searches but others use the Newcastle
search site or Rseek.
--
David Winsemius, MD
Alameda, CA, USA
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.