R version 2.15.2 (2012-10-26) -- "Trick or Treat" Copyright (C) 2012 The R Foundation for Statistical Computing ISBN 3-900051-07-0 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(1 + ,1 + ,14 + ,12 + ,26 + ,21 + ,21 + ,23 + ,17 + ,23 + ,1 + ,1 + ,18 + ,11 + ,20 + ,16 + ,15 + ,24 + ,17 + ,20 + ,1 + ,1 + ,11 + ,14 + ,19 + ,19 + ,18 + ,22 + ,18 + ,20 + ,1 + ,0 + ,12 + ,12 + ,19 + ,18 + ,11 + ,20 + ,21 + ,21 + ,1 + ,1 + ,16 + ,21 + ,20 + ,16 + ,8 + ,24 + ,20 + ,24 + ,1 + ,1 + ,18 + ,12 + ,25 + ,23 + ,19 + ,27 + ,28 + ,22 + ,1 + ,0 + ,14 + ,22 + ,25 + ,17 + ,4 + ,28 + ,19 + ,23 + ,1 + ,1 + ,14 + ,11 + ,22 + ,12 + ,20 + ,27 + ,22 + ,20 + ,1 + ,1 + ,15 + ,10 + ,26 + ,19 + ,16 + ,24 + ,16 + ,25 + ,1 + ,1 + ,15 + ,13 + ,22 + ,16 + ,14 + ,23 + ,18 + ,23 + ,1 + ,0 + ,17 + ,10 + ,17 + ,19 + ,10 + ,24 + ,25 + ,27 + ,1 + ,0 + ,19 + ,8 + ,22 + ,20 + ,13 + ,27 + ,17 + ,27 + ,1 + ,1 + ,10 + ,15 + ,19 + ,13 + ,14 + ,27 + ,14 + ,22 + ,1 + ,1 + ,16 + ,14 + ,24 + ,20 + ,8 + ,28 + ,11 + ,24 + ,1 + ,1 + ,18 + ,10 + ,26 + ,27 + ,23 + ,27 + ,27 + ,25 + ,1 + ,0 + ,14 + ,14 + ,21 + ,17 + ,11 + ,23 + ,20 + ,22 + ,1 + ,1 + ,14 + ,14 + ,13 + ,8 + ,9 + ,24 + ,22 + ,28 + ,1 + ,0 + ,17 + ,11 + ,26 + ,25 + ,24 + ,28 + ,22 + ,28 + ,1 + ,0 + ,14 + ,10 + ,20 + ,26 + ,5 + ,27 + ,21 + ,27 + ,1 + ,1 + ,16 + ,13 + ,22 + ,13 + ,15 + ,25 + ,23 + ,25 + ,1 + ,0 + ,18 + ,7 + ,14 + ,19 + ,5 + ,19 + ,17 + ,16 + ,1 + ,1 + ,11 + ,14 + ,21 + ,15 + ,19 + ,24 + ,24 + ,28 + ,1 + ,1 + ,14 + ,12 + ,7 + ,5 + ,6 + ,20 + ,14 + ,21 + ,1 + ,0 + ,12 + ,14 + ,23 + ,16 + ,13 + ,28 + ,17 + ,24 + ,1 + ,1 + ,17 + ,11 + ,17 + ,14 + ,11 + ,26 + ,23 + ,27 + ,1 + ,1 + ,9 + ,9 + ,25 + ,24 + ,17 + ,23 + ,24 + ,14 + ,1 + ,1 + ,16 + ,11 + ,25 + ,24 + ,17 + ,23 + ,24 + ,14 + ,1 + ,1 + ,14 + ,15 + ,19 + ,9 + ,5 + ,20 + ,8 + ,27 + ,1 + ,0 + ,15 + ,14 + ,20 + ,19 + ,9 + ,11 + ,22 + ,20 + ,1 + ,1 + ,11 + ,13 + ,23 + ,19 + ,15 + ,24 + ,23 + ,21 + ,1 + ,0 + ,16 + ,9 + ,22 + ,25 + ,17 + ,25 + ,25 + ,22 + ,1 + ,1 + ,13 + ,15 + ,22 + ,19 + ,17 + ,23 + ,21 + ,21 + ,1 + ,1 + ,17 + ,10 + ,21 + ,18 + ,20 + ,18 + ,24 + ,12 + ,1 + ,0 + ,15 + ,11 + ,15 + ,15 + ,12 + ,20 + ,15 + ,20 + ,1 + ,0 + ,14 + ,13 + ,20 + ,12 + ,7 + ,20 + ,22 + ,24 + ,1 + ,0 + ,16 + ,8 + ,22 + ,21 + ,16 + ,24 + ,21 + ,19 + ,1 + ,1 + ,9 + ,20 + ,18 + ,12 + ,7 + ,23 + ,25 + ,28 + ,1 + ,0 + ,15 + ,12 + ,20 + ,15 + ,14 + ,25 + ,16 + ,23 + ,1 + ,0 + ,17 + ,10 + ,28 + ,28 + ,24 + ,28 + ,28 + ,27 + ,1 + ,1 + ,13 + ,10 + ,22 + ,25 + ,15 + ,26 + ,23 + ,22 + ,1 + ,1 + ,15 + ,9 + ,18 + ,19 + ,15 + ,26 + ,21 + ,27 + ,1 + ,1 + ,16 + ,14 + ,23 + ,20 + ,10 + ,23 + ,21 + ,26 + ,1 + ,1 + ,16 + ,8 + ,20 + ,24 + ,14 + ,22 + ,26 + ,22 + ,1 + ,0 + ,12 + ,14 + ,25 + ,26 + ,18 + ,24 + ,22 + ,21 + ,1 + ,0 + ,12 + ,11 + ,26 + ,25 + ,12 + ,21 + ,21 + ,19 + ,1 + ,1 + ,11 + ,13 + ,15 + ,12 + ,9 + ,20 + ,18 + ,24 + ,1 + ,0 + ,15 + ,9 + ,17 + ,12 + ,9 + ,22 + ,12 + ,19 + ,1 + ,0 + ,15 + ,11 + ,23 + ,15 + ,8 + ,20 + ,25 + ,26 + ,1 + ,1 + ,17 + ,15 + ,21 + ,17 + ,18 + ,25 + ,17 + ,22 + ,1 + ,0 + ,13 + ,11 + ,13 + ,14 + ,10 + ,20 + ,24 + ,28 + ,1 + ,1 + ,16 + ,10 + ,18 + ,16 + ,17 + ,22 + ,15 + ,21 + ,1 + ,1 + ,14 + ,14 + ,19 + ,11 + ,14 + ,23 + ,13 + ,23 + ,1 + ,1 + ,11 + ,18 + ,22 + ,20 + ,16 + ,25 + ,26 + ,28 + ,1 + ,1 + ,12 + ,14 + ,16 + ,11 + ,10 + ,23 + ,16 + ,10 + ,1 + ,0 + ,12 + ,11 + ,24 + ,22 + ,19 + ,23 + ,24 + ,24 + ,1 + ,1 + ,15 + ,12 + ,18 + ,20 + ,10 + ,22 + ,21 + ,21 + ,1 + ,1 + ,16 + ,13 + ,20 + ,19 + ,14 + ,24 + ,20 + ,21 + ,1 + ,1 + ,15 + ,9 + ,24 + ,17 + ,10 + ,25 + ,14 + ,24 + ,1 + ,0 + ,12 + ,10 + ,14 + ,21 + ,4 + ,21 + ,25 + ,24 + ,1 + ,0 + ,12 + ,15 + ,22 + ,23 + ,19 + ,12 + ,25 + ,25 + ,1 + ,1 + ,8 + ,20 + ,24 + ,18 + ,9 + ,17 + ,20 + ,25 + ,1 + ,1 + ,13 + ,12 + ,18 + ,17 + ,12 + ,20 + ,22 + ,23 + ,1 + ,1 + ,11 + ,12 + ,21 + ,27 + ,16 + ,23 + ,20 + ,21 + ,1 + ,0 + ,14 + ,14 + ,23 + ,25 + ,11 + ,23 + ,26 + ,16 + ,1 + ,1 + ,15 + ,13 + ,17 + ,19 + ,18 + ,20 + ,18 + ,17 + ,1 + ,0 + ,10 + ,11 + ,22 + ,22 + ,11 + ,28 + ,22 + ,25 + ,1 + ,0 + ,11 + ,17 + ,24 + ,24 + ,24 + ,24 + ,24 + ,24 + ,1 + ,0 + ,12 + ,12 + ,21 + ,20 + ,17 + ,24 + ,17 + ,23 + ,1 + ,1 + ,15 + ,13 + ,22 + ,19 + ,18 + ,24 + ,24 + ,25 + ,1 + ,1 + ,15 + ,14 + ,16 + ,11 + ,9 + ,24 + ,20 + ,23 + ,1 + ,1 + ,14 + ,13 + ,21 + ,22 + ,19 + ,28 + ,19 + ,28 + ,1 + ,0 + ,16 + ,15 + ,23 + ,22 + ,18 + ,25 + ,20 + ,26 + ,1 + ,0 + ,15 + ,13 + ,22 + ,16 + ,12 + ,21 + ,15 + ,22 + ,1 + ,1 + ,15 + ,10 + ,24 + ,20 + ,23 + ,25 + ,23 + ,19 + ,1 + ,1 + ,13 + ,11 + ,24 + ,24 + ,22 + ,25 + ,26 + ,26 + ,1 + ,1 + ,12 + ,19 + ,16 + ,16 + ,14 + ,18 + ,22 + ,18 + ,1 + ,1 + ,17 + ,13 + ,16 + ,16 + ,14 + ,17 + ,20 + ,18 + ,1 + ,0 + ,13 + ,17 + ,21 + ,22 + ,16 + ,26 + ,24 + ,25 + ,1 + ,0 + ,15 + ,13 + ,26 + ,24 + ,23 + ,28 + ,26 + ,27 + ,1 + ,0 + ,13 + ,9 + ,15 + ,16 + ,7 + ,21 + ,21 + ,12 + ,1 + ,0 + ,15 + ,11 + ,25 + ,27 + ,10 + ,27 + ,25 + ,15 + ,1 + ,1 + ,16 + ,10 + ,18 + ,11 + ,12 + ,22 + ,13 + ,21 + ,1 + ,0 + ,15 + ,9 + ,23 + ,21 + ,12 + ,21 + ,20 + ,23 + ,1 + ,1 + ,16 + ,12 + ,20 + ,20 + ,12 + ,25 + ,22 + ,22 + ,1 + ,0 + ,15 + ,12 + ,17 + ,20 + ,17 + ,22 + ,23 + ,21 + ,1 + ,0 + ,14 + ,13 + ,25 + ,27 + ,21 + ,23 + ,28 + ,24 + ,1 + ,1 + ,15 + ,13 + ,24 + ,20 + ,16 + ,26 + ,22 + ,27 + ,1 + ,1 + ,14 + ,12 + ,17 + ,12 + ,11 + ,19 + ,20 + ,22 + ,1 + ,1 + ,13 + ,15 + ,19 + ,8 + ,14 + ,25 + ,6 + ,28 + ,1 + ,1 + ,7 + ,22 + ,20 + ,21 + ,13 + ,21 + ,21 + ,26 + ,1 + ,1 + ,17 + ,13 + ,15 + ,18 + ,9 + ,13 + ,20 + ,10 + ,1 + ,0 + ,13 + ,15 + ,27 + ,24 + ,19 + ,24 + ,18 + ,19 + ,1 + ,1 + ,15 + ,13 + ,22 + ,16 + ,13 + ,25 + ,23 + ,22 + ,1 + ,1 + ,14 + ,15 + ,23 + ,18 + ,19 + ,26 + ,20 + ,21 + ,1 + ,1 + ,13 + ,10 + ,16 + ,20 + ,13 + ,25 + ,24 + ,24 + ,1 + ,1 + ,16 + ,11 + ,19 + ,20 + ,13 + ,25 + ,22 + ,25 + ,1 + ,0 + ,12 + ,16 + ,25 + ,19 + ,13 + ,22 + ,21 + ,21 + ,1 + ,1 + ,14 + ,11 + ,19 + ,17 + ,14 + ,21 + ,18 + ,20 + ,1 + ,0 + ,17 + ,11 + ,19 + ,16 + ,12 + ,23 + ,21 + ,21 + ,1 + ,0 + ,15 + ,10 + ,26 + ,26 + ,22 + ,25 + ,23 + ,24 + ,1 + ,1 + ,17 + ,10 + ,21 + ,15 + ,11 + ,24 + ,23 + ,23 + ,1 + ,0 + ,12 + ,16 + ,20 + ,22 + ,5 + ,21 + ,15 + ,18 + ,1 + ,1 + ,16 + ,12 + ,24 + ,17 + ,18 + ,21 + ,21 + ,24 + ,1 + ,1 + ,11 + ,11 + ,22 + ,23 + ,19 + ,25 + ,24 + ,24 + ,1 + ,0 + ,15 + ,16 + ,20 + ,21 + ,14 + ,22 + ,23 + ,19 + ,1 + ,1 + ,9 + ,19 + ,18 + ,19 + ,15 + ,20 + ,21 + ,20 + ,1 + ,0 + ,16 + ,11 + ,18 + ,14 + ,12 + ,20 + ,21 + ,18 + ,1 + ,1 + ,15 + ,16 + ,24 + ,17 + ,19 + ,23 + ,20 + ,20 + ,1 + ,1 + ,10 + ,15 + ,24 + ,12 + ,15 + ,28 + ,11 + ,27 + ,1 + ,1 + ,10 + ,24 + ,22 + ,24 + ,17 + ,23 + ,22 + ,23 + ,1 + ,1 + ,15 + ,14 + ,23 + ,18 + ,8 + ,28 + ,27 + ,26 + ,1 + ,1 + ,11 + ,15 + ,22 + ,20 + ,10 + ,24 + ,25 + ,23 + ,1 + ,1 + ,13 + ,11 + ,20 + ,16 + ,12 + ,18 + ,18 + ,17 + ,1 + ,1 + ,14 + ,15 + ,18 + ,20 + ,12 + ,20 + ,20 + ,21 + ,1 + ,1 + ,18 + ,12 + ,25 + ,22 + ,20 + ,28 + ,24 + ,25 + ,1 + ,0 + ,16 + ,10 + ,18 + ,12 + ,12 + ,21 + ,10 + ,23 + ,1 + ,1 + ,14 + ,14 + ,16 + ,16 + ,12 + ,21 + ,27 + ,27 + ,1 + ,1 + ,14 + ,13 + ,20 + ,17 + ,14 + ,25 + ,21 + ,24 + ,1 + ,0 + ,14 + ,9 + ,19 + ,22 + ,6 + ,19 + ,21 + ,20 + ,1 + ,1 + ,14 + ,15 + ,15 + ,12 + ,10 + ,18 + ,18 + ,27 + ,1 + ,1 + ,12 + ,15 + ,19 + ,14 + ,18 + ,21 + ,15 + ,21 + ,1 + ,1 + ,14 + ,14 + ,19 + ,23 + ,18 + ,22 + ,24 + ,24 + ,1 + ,1 + ,15 + ,11 + ,16 + ,15 + ,7 + ,24 + ,22 + ,21 + ,1 + ,1 + ,15 + ,8 + ,17 + ,17 + ,18 + ,15 + ,14 + ,15 + ,1 + ,1 + ,15 + ,11 + ,28 + ,28 + ,9 + ,28 + ,28 + ,25 + ,1 + ,0 + ,13 + ,11 + ,23 + ,20 + ,17 + ,26 + ,18 + ,25 + ,1 + ,1 + ,17 + ,8 + ,25 + ,23 + ,22 + ,23 + ,26 + ,22 + ,1 + ,1 + ,17 + ,10 + ,20 + ,13 + ,11 + ,26 + ,17 + ,24 + ,1 + ,0 + ,19 + ,11 + ,17 + ,18 + ,15 + ,20 + ,19 + ,21 + ,1 + ,0 + ,15 + ,13 + ,23 + ,23 + ,17 + ,22 + ,22 + ,22 + ,1 + ,1 + ,13 + ,11 + ,16 + ,19 + ,15 + ,20 + ,18 + ,23 + ,1 + ,0 + ,9 + ,20 + ,23 + ,23 + ,22 + ,23 + ,24 + ,22 + ,1 + ,0 + ,15 + ,10 + ,11 + ,12 + ,9 + ,22 + ,15 + ,20 + ,1 + ,0 + ,15 + ,15 + ,18 + ,16 + ,13 + ,24 + ,18 + ,23 + ,1 + ,0 + ,15 + ,12 + ,24 + ,23 + ,20 + ,23 + ,26 + ,25 + ,1 + ,1 + ,16 + ,14 + ,23 + ,13 + ,14 + ,22 + ,11 + ,23 + ,1 + ,1 + ,11 + ,23 + ,21 + ,22 + ,14 + ,26 + ,26 + ,22 + ,1 + ,0 + ,14 + ,14 + ,16 + ,18 + ,12 + ,23 + ,21 + ,25 + ,1 + ,0 + ,11 + ,16 + ,24 + ,23 + ,20 + ,27 + ,23 + ,26 + ,1 + ,1 + ,15 + ,11 + ,23 + ,20 + ,20 + ,23 + ,23 + ,22 + ,1 + ,1 + ,13 + ,12 + ,18 + ,10 + ,8 + ,21 + ,15 + ,24 + ,1 + ,1 + ,15 + ,10 + ,20 + ,17 + ,17 + ,26 + ,22 + ,24 + ,1 + ,1 + ,16 + ,14 + ,9 + ,18 + ,9 + ,23 + ,26 + ,25 + ,1 + ,0 + ,14 + ,12 + ,24 + ,15 + ,18 + ,21 + ,16 + ,20 + ,1 + ,1 + ,15 + ,12 + ,25 + ,23 + ,22 + ,27 + ,20 + ,26 + ,1 + ,1 + ,16 + ,11 + ,20 + ,17 + ,10 + ,19 + ,18 + ,21 + ,1 + ,0 + ,16 + ,12 + ,21 + ,17 + ,13 + ,23 + ,22 + ,26 + ,1 + ,0 + ,11 + ,13 + ,25 + ,22 + ,15 + ,25 + ,16 + ,21 + ,1 + ,0 + ,12 + ,11 + ,22 + ,20 + ,18 + ,23 + ,19 + ,22 + ,1 + ,0 + ,9 + ,19 + ,21 + ,20 + ,18 + ,22 + ,20 + ,16 + ,1 + ,1 + ,16 + ,12 + ,21 + ,19 + ,12 + ,22 + ,19 + ,26 + ,1 + ,1 + ,13 + ,17 + ,22 + ,18 + ,12 + ,25 + ,23 + ,28 + ,1 + ,1 + ,16 + ,9 + ,27 + ,22 + ,20 + ,25 + ,24 + ,18 + ,1 + ,0 + ,12 + ,12 + ,24 + ,20 + ,12 + ,28 + ,25 + ,25 + ,1 + ,0 + ,9 + ,19 + ,24 + ,22 + ,16 + ,28 + ,21 + ,23 + ,1 + ,0 + ,13 + ,18 + ,21 + ,18 + ,16 + ,20 + ,21 + ,21 + ,1 + ,1 + ,13 + ,15 + ,18 + ,16 + ,18 + ,25 + ,23 + ,20 + ,1 + ,1 + ,14 + ,14 + ,16 + ,16 + ,16 + ,19 + ,27 + ,25 + ,0 + ,1 + ,19 + ,11 + ,22 + ,16 + ,13 + ,25 + ,23 + ,22 + ,0 + ,1 + ,13 + ,9 + ,20 + ,16 + ,17 + ,22 + ,18 + ,21 + ,0 + ,0 + ,12 + ,18 + ,18 + ,17 + ,13 + ,18 + ,16 + ,16 + ,0 + ,1 + ,13 + ,16 + ,20 + ,18 + ,17 + ,20 + ,16 + ,18) + ,dim=c(10 + ,162) + ,dimnames=list(c('Pop' + ,'Gender' + ,'Happiness' + ,'Depression' + ,'I1' + ,'I2' + ,'I3' + ,'E1' + ,'E2' + ,'E3 ') + ,1:162)) > y <- array(NA,dim=c(10,162),dimnames=list(c('Pop','Gender','Happiness','Depression','I1','I2','I3','E1','E2','E3 '),1:162)) > for (i in 1:dim(x)[1]) + { + for (j in 1:dim(x)[2]) + { + y[i,j] <- as.numeric(x[i,j]) + } + } > par1 = 'kendall' > main = 'Correlation Matrix' > panel.tau <- function(x, y, digits=2, prefix='', cex.cor) + { + usr <- par('usr'); on.exit(par(usr)) + par(usr = c(0, 1, 0, 1)) + rr <- cor.test(x, y, method=par1) + r <- round(rr$p.value,2) + txt <- format(c(r, 0.123456789), digits=digits)[1] + txt <- paste(prefix, txt, sep='') + if(missing(cex.cor)) cex <- 0.5/strwidth(txt) + text(0.5, 0.5, txt, cex = cex) + } > panel.hist <- function(x, ...) + { + usr <- par('usr'); on.exit(par(usr)) + par(usr = c(usr[1:2], 0, 1.5) ) + h <- hist(x, plot = FALSE) + breaks <- h$breaks; nB <- length(breaks) + y <- h$counts; y <- y/max(y) + rect(breaks[-nB], 0, breaks[-1], y, col='grey', ...) + } > postscript(file="/var/fisher/rcomp/tmp/1sm3d1355062143.ps",horizontal=F,onefile=F,pagecentre=F,paper="special",width=8.3333333333333,height=5.5555555555556) > pairs(t(y),diag.panel=panel.hist, upper.panel=panel.smooth, lower.panel=panel.tau, main=main) Warning messages: 1: In strwidth(labels, "user") : font width unknown for character 0xd 2: In text.default(x, y, txt, cex = cex, font = font) : font width unknown for character 0xd 3: In text.default(x, y, txt, cex = cex, font = font) : font metrics unknown for character 0xd > dev.off() null device 1 > > #Note: the /var/fisher/rcomp/createtable file can be downloaded at http://www.wessa.net/cretab > load(file="/var/fisher/rcomp/createtable") > > n <- length(y[,1]) > n [1] 10 > a<-table.start() > a<-table.row.start(a) > a<-table.element(a,paste('Correlations for all pairs of data series (method=',par1,')',sep=''),n+1,TRUE) > a<-table.row.end(a) > a<-table.row.start(a) > a<-table.element(a,' ',header=TRUE) > for (i in 1:n) { + a<-table.element(a,dimnames(t(x))[[2]][i],header=TRUE) + } > a<-table.row.end(a) > for (i in 1:n) { + a<-table.row.start(a) + a<-table.element(a,dimnames(t(x))[[2]][i],header=TRUE) + for (j in 1:n) { + r <- cor.test(y[i,],y[j,],method=par1) + a<-table.element(a,round(r$estimate,3)) + } + a<-table.row.end(a) + } > a<-table.end(a) > table.save(a,file="/var/fisher/rcomp/tmp/2vjly1355062144.tab") > a<-table.start() > a<-table.row.start(a) > a<-table.element(a,'Correlations for all pairs of data series with p-values',4,TRUE) > a<-table.row.end(a) > a<-table.row.start(a) > a<-table.element(a,'pair',1,TRUE) > a<-table.element(a,'Pearson r',1,TRUE) > a<-table.element(a,'Spearman rho',1,TRUE) > a<-table.element(a,'Kendall tau',1,TRUE) > a<-table.row.end(a) > cor.test(y[1,],y[2,],method=par1) Kendall's rank correlation tau data: y[1, ] and y[2, ] z = -0.5991, p-value = 0.5491 alternative hypothesis: true tau is not equal to 0 sample estimates: tau -0.04721351 > for (i in 1:(n-1)) + { + for (j in (i+1):n) + { + a<-table.row.start(a) + dum <- paste(dimnames(t(x))[[2]][i],';',dimnames(t(x))[[2]][j],sep='') + a<-table.element(a,dum,header=TRUE) + rp <- cor.test(y[i,],y[j,],method='pearson') + a<-table.element(a,round(rp$estimate,4)) + rs <- cor.test(y[i,],y[j,],method='spearman') + a<-table.element(a,round(rs$estimate,4)) + rk <- cor.test(y[i,],y[j,],method='kendall') + a<-table.element(a,round(rk$estimate,4)) + a<-table.row.end(a) + a<-table.row.start(a) + a<-table.element(a,'p-value',header=T) + a<-table.element(a,paste('(',round(rp$p.value,4),')',sep='')) + a<-table.element(a,paste('(',round(rs$p.value,4),')',sep='')) + a<-table.element(a,paste('(',round(rk$p.value,4),')',sep='')) + a<-table.row.end(a) + } + } There were 45 warnings (use warnings() to see them) > a<-table.end(a) > table.save(a,file="/var/fisher/rcomp/tmp/3nlvv1355062144.tab") > > try(system("convert tmp/1sm3d1355062143.ps tmp/1sm3d1355062143.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 3.585 0.300 3.867