R version 3.0.2 (2013-09-25) -- "Frisbee Sailing" 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(70.8 + ,65.1762 + ,69.6 + ,64.8362 + ,69.87 + ,62.8362 + ,67.47 + ,62.5062 + ,67.6 + ,61.8362 + ,67.13 + ,59.8362 + ,66.27 + ,63.1762 + ,66.73 + ,61.5062 + ,68.07 + ,59.1762 + ,67.8 + ,62.1762 + ,64.8 + ,59.1762 + ,64.6 + ,60.1762 + ,64.2 + ,60.8362 + ,64.2 + ,58.8362 + ,63.67 + ,58.1762 + ,61 + ,58.8362 + ,59.67 + ,57.8362 + ,59.67 + ,57.1762 + ,59.8 + ,57.1762 + ,60.73 + ,57.8362 + ,59.4 + ,55.8362 + ,58.07 + ,57.8362 + ,57.47 + ,54.5062 + ,70.73 + ,52.1762 + ,72.87 + ,57.1762 + ,66 + ,47.8362 + ,66.07 + ,69.8362 + ,66 + ,68.8362 + ,66.27 + ,67.5062 + ,64 + ,64.5062 + ,63.67 + ,64.5062 + ,63.73 + ,61.8362 + ,63.33 + ,63.8362 + ,63.53 + ,62.8362 + ,63.53 + ,62.5062 + ,62.87 + ,60.1762 + ,59.53 + ,62.1762 + ,62.8 + ,63.1762 + ,60.8 + ,60.1762 + ,59.8 + ,60.5062 + ,56.67 + ,59.8362 + ,57.67 + ,62.1762 + ,58.4 + ,59.8362 + ,55.47 + ,60.8362 + ,56.2 + ,58.1762 + ,71.53 + ,57.8362 + ,68.67 + ,60.1762 + ,65.67 + ,57.1762 + ,66.73 + ,56.5062 + ,67.33 + ,55.1762 + ,66.73 + ,58.1762 + ,66.87 + ,56.5062 + ,65.8 + ,55.5062 + ,64.73 + ,56.1762 + ,65.47 + ,57.1762 + ,63.6 + ,53.8362 + ,64.07 + ,54.5062 + ,64.67 + ,54.1762 + ,63.73 + ,51.8362 + ,62.53 + ,52.1762 + ,61.93 + ,49.5062 + ,62.67 + ,45.5062 + ,62.8 + ,2.8362 + ,61.33 + ,68.5062 + ,62.6 + ,67.1762 + ,59.13 + ,66.1762 + ,61.27 + ,64.5062 + ,59.47 + ,64.1762 + ,57.87 + ,64.1762 + ,59.73 + ,62.1762 + ,61.4 + ,62.1762 + ,58.8 + ,62.5062 + ,58.33 + ,60.5062 + ,57.47 + ,60.5062 + ,57.13 + ,60.1762 + ,55 + ,60.1762 + ,51.53 + ,61.8362 + ,72.73 + ,59.5062 + ,73 + ,60.8362 + ,70.8 + ,58.8362 + ,70.07 + ,58.8362 + ,71.67 + ,59.1762 + ,71.07 + ,56.1762 + ,70.67 + ,56.8362 + ,70.73 + ,56.5062 + ,70.73 + ,55.8362 + ,68.6 + ,55.1762 + ,69.6 + ,56.5062 + ,66.47 + ,53.8362 + ,67.07 + ,54.1762 + ,68.67 + ,53.1762 + ,66.93 + ,54.8362 + ,65.93 + ,53.5062 + ,68.87 + ,53.5062 + ,66.53 + ,53.1762 + ,65.8 + ,52.8362 + ,66.6 + ,47.5062 + ,66 + ,46.8362 + ,65 + ,48.1762 + ,66.8 + ,42.1762 + ,65.6 + ,4.8362 + ,66 + ,1.5062 + ,65.67 + ,65.1762 + ,64.67 + ,65.8362 + ,65.07 + ,63.8362 + ,64.67 + ,64.5062 + ,65.07 + ,64.1762 + ,65.2 + ,65.1762 + ,64.87 + ,64.1762 + ,63.47 + ,63.5062 + ,62.6 + ,63.1762 + ,64.07 + ,65.1762 + ,63.73 + ,62.1762 + ,64.67 + ,61.8362 + ,61.6 + ,62.1762 + ,61.6 + ,61.8362 + ,60.47 + ,62.1762 + ,61.27 + ,61.5062 + ,63 + ,60.1762 + ,61.47 + ,59.8362 + ,60.87 + ,59.1762 + ,61.67 + ,58.5062 + ,62.87 + ,60.1762 + ,62.4 + ,59.8362 + ,59.73 + ,57.1762 + ,60.13 + ,58.8362 + ,58.8 + ,58.1762 + ,59.6 + ,57.8362 + ,58.93 + ,58.1762 + ,60.13 + ,59.5062 + ,58.2 + ,59.5062 + ,58.27 + ,58.5062 + ,58.27 + ,58.5062 + ,55.07 + ,57.1762 + ,53.87 + ,56.8362 + ,52.33 + ,56.5062 + ,47.2 + ,54.8362 + ,37.93 + ,53.1762 + ,72.73 + ,53.8362 + ,70.07 + ,52.5062 + ,70.67 + ,51.1762 + ,72.07 + ,42.5062 + ,68.8 + ,64.1762 + ,68.8 + ,63.5062 + ,67.47 + ,64.8362 + ,66.73 + ,62.5062 + ,66.53 + ,60.8362 + ,66 + ,59.8362 + ,67.6 + ,61.5062 + ,66 + ,62.1762 + ,66 + ,60.5062 + ,66.53 + ,59.8362 + ,65.8 + ,63.1762 + ,64.27 + ,61.1762 + ,64.67 + ,62.5062 + ,64.6 + ,59.5062 + ,64.13 + ,59.1762 + ,65.47 + ,58.1762 + ,62.93 + ,58.8362 + ,63.53 + ,55.1762 + ,62.13 + ,55.1762 + ,63.87 + ,52.8362 + ,64.67 + ,49.5062 + ,63.33 + ,49.5062 + ,63.13 + ,45.5062 + ,62.8 + ,66.5062 + ,62.4 + ,63.5062 + ,62.4 + ,62.5062 + ,62.6 + ,62.5062 + ,61.47 + ,62.5062 + ,62.2 + ,60.5062 + ,63 + ,59.5062 + ,61.8 + ,58.5062 + ,59.73 + ,58.5062 + ,60.33 + ,60.5062 + ,60.13 + ,58.5062 + ,59.53 + ,57.5062 + ,59 + ,59.5062 + ,55.93 + ,58.5062 + ,41.87 + ,58.5062 + ,36.33 + ,56.5062 + ,71.67 + ,56.5062 + ,71.47 + ,58.5062 + ,70.47 + ,56.5062 + ,69.53 + ,57.5062 + ,70.73 + ,54.5062 + ,69.93 + ,52.5062 + ,68.73 + ,49.5062 + ,67.53 + ,45.5062) + ,dim=c(2 + ,189) + ,dimnames=list(c('Placement' + ,'NoPlacement ') + ,1:189)) > y <- array(NA,dim=c(2,189),dimnames=list(c('Placement','NoPlacement '),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/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,'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) : p-value will be approximate in the presence of 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/wessaorg/rcomp/tmp/1wog11383051254.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/wessaorg/rcomp/tmp/292vb1383051254.tab") > > > > proc.time() user system elapsed 0.610 0.299 0.879