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(159,180,158,175,155,165,158,165,165,180,160,175,165,170,165,174,171,185,170,200,168,178,165,173,168,170,160,180,153,175,165,173,161,175,170,171,165,175,160,188,159,178,158,180,173,175,158,183,163,170,169,185,160,172,163,180,161,169,155,170,171,165,163,170,159,175,161,185,150,175,158,175,163,180,175,183,163,170,170,183,165,175,160,170,160,183,161,180,160,185,165,182,153,175,163,183,160,171,160,179,173,181,160,183,150,165,164,178,165,175,163,165,171,185,165,175,163,185,175,188,163,175,153,183,169,165,155,174,163,161,158,188,148,165,160,170,168,168,160,178,163,165,176,175,171,173,155,175,165,173,158,180,170,188,165,173,160,175,152,180,160,178,165,178,160,160,158,171,155,168,165,155,160,160,168,166,155,165,158,161),dim=c(2,98),dimnames=list(c('FemaleRepHt,','MaleRepHt'),1:98)) > y <- array(NA,dim=c(2,98),dimnames=list(c('FemaleRepHt,','MaleRepHt'),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/wessaorg/rcomp/createtable file can be downloaded at http://www.wessa.net/cretab > load(file="/var/wessaorg/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/wessaorg/rcomp/tmp/1l4tk1378103278.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/wessaorg/rcomp/tmp/2zf521378103278.tab") > > > > proc.time() user system elapsed 0.486 0.179 0.631