R version 3.0.1 (2013-05-16) -- "Good Sport" Copyright (C) 2013 The R Foundation for Statistical Computing Platform: i686-pc-linux-gnu (32-bit) R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > x <- array(list(161,182,161,177,157,170,161,167,168,186,163,178,166,171,168,175,175,187,170,197,171,180,166,175,169,173,166,183,157,178,166,173,164,176,169,174,166,178,164,187,163,178,160,183,174,179,162,182,165,169,173,185,162,176,165,183,164,172,158,173,175,165,165,177,163,180,166,189,160,178,160,173,165,182,169,183,167,168,170,182,165,178,163,173,162,184,161,180,165,189,169,185,159,178,164,183,163,179,163,179,175,184,164,184,152,169,167,178,166,178,166,167,174,185,167,177,168,188,178,191,165,175,157,184,171,169,157,172,166,163,160,191,148,169,162,170,172,168,163,178,165,170,176,178,171,174,160,176,165,173,157,183,173,185,168,173,162,175,150,180,163,181,167,177,163,161,162,172,159,170,166,158,165,162,172,169,158,164,156,164),dim=c(2,98),dimnames=list(c('FemaleHeight,','MaleHeight'),1:98)) > y <- array(NA,dim=c(2,98),dimnames=list(c('FemaleHeight,','MaleHeight'),1:98)) > for (i in 1:dim(x)[1]) + { + for (j in 1:dim(x)[2]) + { + y[i,j] <- as.numeric(x[i,j]) + } + } > par3 = '2' > par2 = '1' > par1 = 'two.sided' > par3 <- '2' > par2 <- '1' > par1 <- 'two.sided' > par2 <- as.numeric(par2) > par3 <- as.numeric(par3) > x <- t(y) > > #Note: the /var/fisher/rcomp/createtable file can be downloaded at http://www.wessa.net/cretab > load(file="/var/fisher/rcomp/createtable") > > a<-table.start() > a <- table.row.start(a) > a <- table.element(a,'Wilcoxon-Mann-Whitney Test',3,TRUE) > a <- table.row.end(a) > a <- table.row.start(a) > a <- table.element(a,'',1,TRUE) > a <- table.element(a,'Statistic',1,TRUE) > a <- table.element(a,'P-value',1,TRUE) > a <- table.row.end(a) > W <- wilcox.test(x[,par2],x[,par3],alternative=par1) > a<-table.row.start(a) > a<-table.element(a,'Test',1,TRUE) > a<-table.element(a,W$statistic[[1]]) > a<-table.element(a,signif(W$p.value, digits=5) ) > a<-table.row.end(a) > a<-table.end(a) > table.save(a,file="/var/fisher/rcomp/tmp/1qvu11378102820.tab") > a<-table.start() > a <- table.row.start(a) > a <- table.element(a,'Menu of R Modules',2,TRUE) > a <- table.row.end(a) > a <- table.row.start(a) > a <- table.element(a,'Workshop',1,TRUE) > a <- table.element(a,'Link',1,TRUE) > a <- table.row.end(a) > a <- table.row.start(a) > a<-table.element(a,'go to',1,header=TRUE) > a <- table.element(a,hyperlink('http://www.wessa.net/rwasp_varia1.wasp?mobile=-400','Histogram & QQplots','Click here to load the R module.'),1) > a <- table.row.end(a) > a <- table.row.start(a) > a<-table.element(a,'go to',1,header=TRUE) > a <- table.element(a,hyperlink('http://www.wessa.net/rwasp_CARE Data Boxplot.wasp?mobile=-400','Go to Scatterplot Matrix and Boxplots','Click here to load the R module.'),1) > a <- table.row.end(a) > a <- table.row.start(a) > a<-table.element(a,'go to',1,header=TRUE) > a <- table.element(a,hyperlink('http://www.wessa.net/rwasp_Reddy-Moores K-S Test.wasp?mobile=-400','Go to Kolmogorov-Smirnov Test','Click here to load the R module.'),1) > a <- table.row.end(a) > a<-table.end(a) > table.save(a,file="/var/fisher/rcomp/tmp/2yg2e1378102820.tab") > > > > proc.time() user system elapsed 0.274 0.085 0.339