R version 2.12.1 (2010-12-16) Copyright (C) 2010 The R Foundation for Statistical Computing ISBN 3-900051-07-0 Platform: i486-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(70.80 + ,70.9483 + ,69.60 + ,70.6083 + ,69.87 + ,68.6083 + ,67.47 + ,68.2783 + ,67.60 + ,67.6083 + ,67.13 + ,65.6083 + ,66.27 + ,68.9483 + ,66.73 + ,67.2783 + ,68.07 + ,64.9483 + ,67.80 + ,67.9483 + ,64.80 + ,64.9483 + ,64.60 + ,65.9483 + ,64.20 + ,66.6083 + ,64.20 + ,64.6083 + ,63.67 + ,63.9483 + ,61.00 + ,64.6083 + ,59.67 + ,63.6083 + ,59.67 + ,62.9483 + ,59.80 + ,62.9483 + ,60.73 + ,63.6083 + ,59.40 + ,61.6083 + ,58.07 + ,63.6083 + ,57.47 + ,60.2783 + ,70.73 + ,57.9483 + ,72.87 + ,62.9483 + ,66.00 + ,53.6083 + ,66.07 + ,75.6083 + ,66.00 + ,74.6083 + ,66.27 + ,73.2783 + ,64.00 + ,70.2783 + ,63.67 + ,70.2783 + ,63.73 + ,67.6083 + ,63.33 + ,69.6083 + ,63.53 + ,68.6083 + ,63.53 + ,68.2783 + ,62.87 + ,65.9483 + ,59.53 + ,67.9483 + ,62.80 + ,68.9483 + ,60.80 + ,65.9483 + ,59.80 + ,66.2783 + ,56.67 + ,65.6083 + ,57.67 + ,67.9483 + ,58.40 + ,65.6083 + ,55.47 + ,66.6083 + ,56.20 + ,63.9483 + ,71.53 + ,63.6083 + ,68.67 + ,65.9483 + ,65.67 + ,62.9483 + ,66.73 + ,62.2783 + ,67.33 + ,60.9483 + ,66.73 + ,63.9483 + ,66.87 + ,62.2783 + ,65.80 + ,61.2783 + ,64.73 + ,61.9483 + ,65.47 + ,62.9483 + ,63.60 + ,59.6083 + ,64.07 + ,60.2783 + ,64.67 + ,59.9483 + ,63.73 + ,57.6083 + ,62.53 + ,57.9483 + ,61.93 + ,55.2783 + ,62.67 + ,51.2783 + ,62.80 + ,8.6083 + ,61.33 + ,74.2783 + ,62.60 + ,72.9483 + ,59.13 + ,71.9483 + ,61.27 + ,70.2783 + ,59.47 + ,69.9483 + ,57.87 + ,69.9483 + ,59.73 + ,67.9483 + ,61.40 + ,67.9483 + ,58.80 + ,68.2783 + ,58.33 + ,66.2783 + ,57.47 + ,66.2783 + ,57.13 + ,65.9483 + ,55.00 + ,65.9483 + ,51.53 + ,67.6083 + ,72.73 + ,65.2783 + ,73.00 + ,66.6083 + ,70.80 + ,64.6083 + ,70.07 + ,64.6083 + ,71.67 + ,64.9483 + ,71.07 + ,61.9483 + ,70.67 + ,62.6083 + ,70.73 + ,62.2783 + ,70.73 + ,61.6083 + ,68.60 + ,60.9483 + ,69.60 + ,62.2783 + ,66.47 + ,59.6083 + ,67.07 + ,59.9483 + ,68.67 + ,58.9483 + ,66.93 + ,60.6083 + ,65.93 + ,59.2783 + ,68.87 + ,59.2783 + ,66.53 + ,58.9483 + ,65.80 + ,58.6083 + ,66.60 + ,53.2783 + ,66.00 + ,52.6083 + ,65.00 + ,53.9483 + ,66.80 + ,47.9483 + ,65.60 + ,10.6083 + ,66.00 + ,7.2783 + ,65.67 + ,70.9483 + ,64.67 + ,71.6083 + ,65.07 + ,69.6083 + ,64.67 + ,70.2783 + ,65.07 + ,69.9483 + ,65.20 + ,70.9483 + ,64.87 + ,69.9483 + ,63.47 + ,69.2783 + ,62.60 + ,68.9483 + ,64.07 + ,70.9483 + ,63.73 + ,67.9483 + ,64.67 + ,67.6083 + ,61.60 + ,67.9483 + ,61.60 + ,67.6083 + ,60.47 + ,67.9483 + ,61.27 + ,67.2783 + ,63.00 + ,65.9483 + ,61.47 + ,65.6083 + ,60.87 + ,64.9483 + ,61.67 + ,64.2783 + ,62.87 + ,65.9483 + ,62.40 + ,65.6083 + ,59.73 + ,62.9483 + ,60.13 + ,64.6083 + ,58.80 + ,63.9483 + ,59.60 + ,63.6083 + ,58.93 + ,63.9483 + ,60.13 + ,65.2783 + ,58.20 + ,65.2783 + ,58.27 + ,64.2783 + ,58.27 + ,64.2783 + ,55.07 + ,62.9483 + ,53.87 + ,62.6083 + ,52.33 + ,62.2783 + ,47.20 + ,60.6083 + ,37.93 + ,58.9483 + ,72.73 + ,59.6083 + ,70.07 + ,58.2783 + ,70.67 + ,56.9483 + ,72.07 + ,48.2783 + ,68.80 + ,69.9483 + ,68.80 + ,69.2783 + ,67.47 + ,70.6083 + ,66.73 + ,68.2783 + ,66.53 + ,66.6083 + ,66.00 + ,65.6083 + ,67.60 + ,67.2783 + ,66.00 + ,67.9483 + ,66.00 + ,66.2783 + ,66.53 + ,65.6083 + ,65.80 + ,68.9483 + ,64.27 + ,66.9483 + ,64.67 + ,68.2783 + ,64.60 + ,65.2783 + ,64.13 + ,64.9483 + ,65.47 + ,63.9483 + ,62.93 + ,64.6083 + ,63.53 + ,60.9483 + ,62.13 + ,60.9483 + ,63.87 + ,58.6083 + ,64.67 + ,55.2783 + ,63.33 + ,55.2783 + ,63.13 + ,51.2783 + ,62.80 + ,72.2783 + ,62.40 + ,69.2783 + ,62.40 + ,68.2783 + ,62.60 + ,68.2783 + ,61.47 + ,68.2783 + ,62.20 + ,66.2783 + ,63.00 + ,65.2783 + ,61.80 + ,64.2783 + ,59.73 + ,64.2783 + ,60.33 + ,66.2783 + ,60.13 + ,64.2783 + ,59.53 + ,63.2783 + ,59.00 + ,65.2783 + ,55.93 + ,64.2783 + ,41.87 + ,64.2783 + ,36.33 + ,62.2783 + ,71.67 + ,62.2783 + ,71.47 + ,64.2783 + ,70.47 + ,62.2783 + ,69.53 + ,63.2783 + ,70.73 + ,60.2783 + ,69.93 + ,58.2783 + ,68.73 + ,55.2783 + ,67.53 + ,51.2783) + ,dim=c(2 + ,189) + ,dimnames=list(c('pment' + ,'nopment') + ,1:189)) > y <- array(NA,dim=c(2,189),dimnames=list(c('pment','nopment'),1:189)) > 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' > par2 <- as.numeric(par2) > par3 <- as.numeric(par3) > x <- t(y) > > #Note: the /var/www/rcomp/createtable file can be downloaded at http://www.wessa.net/cretab > load(file="/var/www/rcomp/createtable") > > a<-table.start() > a <- table.row.start(a) > a <- table.element(a,'Wilcoxon 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/www/rcomp/tmp/11s5i1320712798.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_varia1m.wasp','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','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','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/www/rcomp/tmp/2ehbh1320712798.tab") > > > > proc.time() user system elapsed 0.348 0.036 0.366