[R] Mann-Whitney by group

Oxenstierna david.chertudi at gmail.com
Tue Jul 10 22:45:56 CEST 2012


This works very well--thanks so much.

By way of extension:  how would one extract elements from the result object?

For example:

thing<=apply(Dtb[,3:10], 2, function(x) wilcox.test(x~Dtb$Group))

summary(thing)$p.value

Does not provide a list of p-values as it would in a regression object. 
Ideally, I would like to be able to extract the W score and p-value by
A,B,C,...

Any ideas greatly appreciated!


--
View this message in context: http://r.789695.n4.nabble.com/Mann-Whitney-by-group-tp4635618p4636055.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list