Hi
I want to perform a mann-whitney test in R, I am using following script on example dataset dataMW <- read.table("Mannwhitney.txt",h=T) attach(dataMW) names(dataMW)
boxplot(length~sex, data = dataMW)
wilcox.test(length~sex,mu=0,alt="two.sided",correct=TRUE, paired=FALSE, conf.int=TRUE, data = dataMW)
Example dataset
sex length
M 17.6
M 17.7
M 18.1
M 18.9
M 20.4
M 19.6
M 19.2
M 19.3
M 21.8
F 15.8
F 14.2
F 16.7
F 12
F 17.3
F 18.05
F 18
F 18.2
F 18.3
The script is running on the example dataset, but I want to perform it on multiple datasets, how can I perform, because it will be hectic to perform one by one. Looking for a response from your side.