x <- array(list(66
,7.28
,62.8
,8.61
,65.6
,10.61
,66.8
,47.95
,72.07
,48.28
,62.67
,51.28
,63.13
,51.28
,67.53
,51.28
,66
,52.61
,66.6
,53.28
,66
,53.61
,65
,53.95
,61.93
,55.28
,63.33
,55.28
,64.67
,55.28
,68.73
,55.28
,70.67
,56.95
,63.73
,57.61
,62.53
,57.95
,70.73
,57.95
,69.93
,58.28
,70.07
,58.28
,63.87
,58.61
,65.8
,58.61
,37.93
,58.95
,66.53
,58.95
,68.67
,58.95
,65.93
,59.28
,68.87
,59.28
,63.6
,59.61
,66.47
,59.61
,72.73
,59.61
,64.67
,59.95
,67.07
,59.95
,57.47
,60.28
,64.07
,60.28
,70.73
,60.28
,47.2
,60.61
,66.93
,60.61
,62.13
,60.95
,63.53
,60.95
,67.33
,60.95
,68.6
,60.95
,65.8
,61.28
,59.4
,61.61
,70.73
,61.61
,64.73
,61.95
,71.07
,61.95
,36.33
,62.28
,52.33
,62.28
,66.73
,62.28
,66.87
,62.28
,69.6
,62.28
,70.47
,62.28
,70.73
,62.28
,71.67
,62.28
,53.87
,62.61
,70.67
,62.61
,55.07
,62.95
,59.67
,62.95
,59.73
,62.95
,59.8
,62.95
,65.47
,62.95
,65.67
,62.95
,72.87
,62.95
,59.53
,63.28
,69.53
,63.28
,58.07
,63.61
,59.6
,63.61
,59.67
,63.61
,60.73
,63.61
,71.53
,63.61
,56.2
,63.95
,58.8
,63.95
,58.93
,63.95
,63.67
,63.95
,65.47
,63.95
,66.73
,63.95
,41.87
,64.28
,55.93
,64.28
,58.27
,64.28
,58.27
,64.28
,59.73
,64.28
,60.13
,64.28
,61.67
,64.28
,61.8
,64.28
,71.47
,64.28
,60.13
,64.61
,61
,64.61
,62.93
,64.61
,64.2
,64.61
,70.07
,64.61
,70.8
,64.61
,60.87
,64.95
,64.13
,64.95
,64.8
,64.95
,68.07
,64.95
,71.67
,64.95
,58.2
,65.28
,59
,65.28
,60.13
,65.28
,63
,65.28
,64.6
,65.28
,72.73
,65.28
,56.67
,65.61
,58.4
,65.61
,61.47
,65.61
,62.4
,65.61
,66
,65.61
,66.53
,65.61
,67.13
,65.61
,55
,65.95
,57.13
,65.95
,60.8
,65.95
,62.87
,65.95
,62.87
,65.95
,63
,65.95
,64.6
,65.95
,68.67
,65.95
,57.47
,66.28
,58.33
,66.28
,59.8
,66.28
,60.33
,66.28
,62.2
,66.28
,66
,66.28
,55.47
,66.61
,64.2
,66.61
,66.53
,66.61
,73
,66.61
,64.27
,66.95
,61.27
,67.28
,66.73
,67.28
,67.6
,67.28
,51.53
,67.61
,61.6
,67.61
,63.73
,67.61
,64.67
,67.61
,67.6
,67.61
,57.67
,67.95
,59.53
,67.95
,59.73
,67.95
,60.47
,67.95
,61.4
,67.95
,61.6
,67.95
,63.73
,67.95
,66
,67.95
,67.8
,67.95
,58.8
,68.28
,61.47
,68.28
,62.4
,68.28
,62.6
,68.28
,63.53
,68.28
,64.67
,68.28
,66.73
,68.28
,67.47
,68.28
,63.53
,68.61
,69.87
,68.61
,62.6
,68.95
,62.8
,68.95
,65.8
,68.95
,66.27
,68.95
,62.4
,69.28
,63.47
,69.28
,68.8
,69.28
,63.33
,69.61
,65.07
,69.61
,57.87
,69.95
,59.47
,69.95
,64.87
,69.95
,65.07
,69.95
,68.8
,69.95
,61.27
,70.28
,63.67
,70.28
,64
,70.28
,64.67
,70.28
,67.47
,70.61
,69.6
,70.61
,64.07
,70.95
,65.2
,70.95
,65.67
,70.95
,70.8
,70.95
,64.67
,71.61
,59.13
,71.95
,62.8
,72.28
,62.6
,72.95
,66.27
,73.28
,61.33
,74.28
,66
,74.61
,66.07
,75.61)
,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'
par3 <- '2'
par2 <- '1'
par1 <- 'two.sided'
#'GNU S' R Code compiled by R2WASP v. 1.0.44 ()
#Author: Dr. Ian E. Holliday
#To cite this work: Ian E. Holliday, 2009, YOUR SOFTWARE TITLE (vNUMBER) in Free Statistics Software (v$_version), Office for Research Development and Education, URL http://www.wessa.net/rwasp_YOURPAGE.wasp/
#Source of accompanying publication: 
#Technical description: 
par2 <- as.numeric(par2)
par3 <- as.numeric(par3)
x <- t(y)

#Note: the /var/yougetitorg/rcomp/createtable file can be downloaded at http://www.wessa.net/cretab
load(file="/var/yougetitorg/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)
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/yougetitorg/rcomp/tmp/1h0if1350866281.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/yougetitorg/rcomp/tmp/22oec1350866281.tab") 


