On Monday 22 June 2009, Gonzalo Quiroga wrote: > Hi, I need help to perform a Shapiro.test on a data frame, I know that > this test works only with vector but I guess there most be a way to > permor it on a data frame instead of vactor by vector (i.e. I've got 40 > variables to analyze and its kinda annoying to do it one by one) > > Thanks to anyone that can help me. > > Gonzalo Quiroga > > ______________________________________________ > 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.
are you looking to perform this column-wise or row-wise? see ?apply for ideas cheers, Dylan -- Dylan Beaudette Soil Resource Laboratory http://casoilresource.lawr.ucdavis.edu/ University of California at Davis 530.754.7341 ______________________________________________ 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.