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.9450 + ,69.60 + ,70.6116 + ,69.87 + ,68.6116 + ,67.47 + ,68.2783 + ,67.60 + ,67.6116 + ,67.13 + ,65.6116 + ,66.27 + ,68.9450 + ,66.73 + ,67.2783 + ,68.07 + ,64.9450 + ,67.80 + ,67.9450 + ,64.80 + ,64.9450 + ,64.60 + ,65.9450 + ,64.20 + ,66.6116 + ,64.20 + ,64.6116 + ,63.67 + ,63.9450 + ,61.00 + ,64.6116 + ,59.67 + ,63.6116 + ,59.67 + ,62.9450 + ,59.80 + ,62.9450 + ,60.73 + ,63.6116 + ,59.40 + ,61.6116 + ,58.07 + ,63.6116 + ,57.47 + ,60.2783 + ,70.73 + ,57.9450 + ,72.87 + ,62.9450 + ,66.00 + ,53.6116 + ,66.07 + ,75.6116 + ,66.00 + ,74.6116 + ,66.27 + ,73.2783 + ,64.00 + ,70.2783 + ,63.67 + ,70.2783 + ,63.73 + ,67.6116 + ,63.33 + ,69.6116 + ,63.53 + ,68.6116 + ,63.53 + ,68.2783 + ,62.87 + ,65.9450 + ,59.53 + ,67.9450 + ,62.80 + ,68.9450 + ,60.80 + ,65.9450 + ,59.80 + ,66.2783 + ,56.67 + ,65.6116 + ,57.67 + ,67.9450 + ,58.40 + ,65.6116 + ,55.47 + ,66.6116 + ,56.20 + ,63.9450 + ,71.53 + ,63.6116 + ,68.67 + ,65.9450 + ,65.67 + ,62.9450 + ,66.73 + ,62.2783 + ,67.33 + ,60.9450 + ,66.73 + ,63.9450 + ,66.87 + ,62.2783 + ,65.80 + ,61.2783 + ,64.73 + ,61.9450 + ,65.47 + ,62.9450 + ,63.60 + ,59.6116 + ,64.07 + ,60.2783 + ,64.67 + ,59.9450 + ,63.73 + ,57.6116 + ,62.53 + ,57.9450 + ,61.93 + ,55.2783 + ,62.67 + ,51.2783 + ,62.80 + ,8.6116 + ,61.33 + ,74.2783 + ,62.60 + ,72.9450 + ,59.13 + ,71.9450 + ,61.27 + ,70.2783 + ,59.47 + ,69.9450 + ,57.87 + ,69.9450 + ,59.73 + ,67.9450 + ,61.40 + ,67.9450 + ,58.80 + ,68.2783 + ,58.33 + ,66.2783 + ,57.47 + ,66.2783 + ,57.13 + ,65.9450 + ,55.00 + ,65.9450 + ,51.53 + ,67.6116 + ,72.73 + ,65.2783 + ,73.00 + ,66.6116 + ,70.80 + ,64.6116 + ,70.07 + ,64.6116 + ,71.67 + ,64.9450 + ,71.07 + ,61.9450 + ,70.67 + ,62.6116 + ,70.73 + ,62.2783 + ,70.73 + ,61.6116 + ,68.60 + ,60.9450 + ,69.60 + ,62.2783 + ,66.47 + ,59.6116 + ,67.07 + ,59.9450 + ,68.67 + ,58.9450 + ,66.93 + ,60.6116 + ,65.93 + ,59.2783 + ,68.87 + ,59.2783 + ,66.53 + ,58.9450 + ,65.80 + ,58.6116 + ,66.60 + ,53.2783 + ,66.00 + ,52.6116 + ,65.00 + ,53.9450 + ,66.80 + ,47.9450 + ,65.60 + ,10.6116 + ,66.00 + ,7.2783 + ,65.67 + ,70.9450 + ,64.67 + ,71.6116 + ,65.07 + ,69.6116 + ,64.67 + ,70.2783 + ,65.07 + ,69.9450 + ,65.20 + ,70.9450 + ,64.87 + ,69.9450 + ,63.47 + ,69.2783 + ,62.60 + ,68.9450 + ,64.07 + ,70.9450 + ,63.73 + ,67.9450 + ,64.67 + ,67.6116 + ,61.60 + ,67.9450 + ,61.60 + ,67.6116 + ,60.47 + ,67.9450 + ,61.27 + ,67.2783 + ,63.00 + ,65.9450 + ,61.47 + ,65.6116 + ,60.87 + ,64.9450 + ,61.67 + ,64.2783 + ,62.87 + ,65.9450 + ,62.40 + ,65.6116 + ,59.73 + ,62.9450 + ,60.13 + ,64.6116 + ,58.80 + ,63.9450 + ,59.60 + ,63.6116 + ,58.93 + ,63.9450 + ,60.13 + ,65.2783 + ,58.20 + ,65.2783 + ,58.27 + ,64.2783 + ,58.27 + ,64.2783 + ,55.07 + ,62.9450 + ,53.87 + ,62.6116 + ,52.33 + ,62.2783 + ,47.20 + ,60.6116 + ,37.93 + ,58.9450 + ,72.73 + ,59.6116 + ,70.07 + ,58.2783 + ,70.67 + ,56.9450 + ,72.07 + ,48.2783 + ,68.80 + ,69.9450 + ,68.80 + ,69.2783 + ,67.47 + ,70.6116 + ,66.73 + ,68.2783 + ,66.53 + ,66.6116 + ,66.00 + ,65.6116 + ,67.60 + ,67.2783 + ,66.00 + ,67.9450 + ,66.00 + ,66.2783 + ,66.53 + ,65.6116 + ,65.80 + ,68.9450 + ,64.27 + ,66.9450 + ,64.67 + ,68.2783 + ,64.60 + ,65.2783 + ,64.13 + ,64.9450 + ,65.47 + ,63.9450 + ,62.93 + ,64.6116 + ,63.53 + ,60.9450 + ,62.13 + ,60.9450 + ,63.87 + ,58.6116 + ,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]) + } + } > par20 = '' > par19 = '' > par18 = '' > par17 = '' > par16 = '' > par15 = '' > par14 = '' > par13 = '' > par12 = '' > par11 = '' > par10 = '' > par9 = '' > par8 = '' > par7 = '' > par6 = '' > par5 = '' > par4 = '' > 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,'Kolmogorov_Smirnov 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) > D <- ks.test(x[,par2],x[,par3],alternative=par1) Warning message: In ks.test(x[, par2], x[, par3], alternative = par1) : cannot compute correct p-values with ties > a<-table.row.start(a) > a<-table.element(a,'K-S Test',1,TRUE) > a<-table.element(a,signif(D$statistic[[1]], digits=5) ) > a<-table.element(a,signif(D$p.value, digits =5) ) > a<-table.row.end(a) > a<-table.end(a) > table.save(a,file="/var/www/rcomp/tmp/1xx181321295237.tab") > a<-table.start() > a <- table.row.start(a) > a <- table.element(a,'Means of Data Distributions ',3,TRUE) > a <- table.row.end(a) > a <- table.row.start(a) > a <- table.element(a,'Mean 1',1,TRUE) > a <- table.element(a,'Mean 2',1,TRUE) > a <- table.element(a,'Difference',1,TRUE) > a <- table.row.end(a) > a<-table.row.start(a) > a<-table.element(a,signif(mean(x[,par2]), digits=5),1) > a<-table.element(a,signif(mean(x[,par3]), digits=5),1) > a<-table.element(a,signif( (mean(x[,par2])- mean(x[,par3])), digits=5),1) > a<-table.row.end(a) > a<-table.end(a) > table.save(a,file="/var/www/rcomp/tmp/2d7f11321295237.tab") > > > > proc.time() user system elapsed 0.360 0.028 0.370