R version 2.13.0 (2011-04-13) Copyright (C) 2011 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(20465 + ,159261 + ,91 + ,19 + ,67 + ,23975 + ,33629 + ,189672 + ,59 + ,20 + ,56 + ,85634 + ,1423 + ,7215 + ,18 + ,0 + ,0 + ,1929 + ,25629 + ,129098 + ,95 + ,27 + ,63 + ,36294 + ,54002 + ,230632 + ,136 + ,31 + ,116 + ,72255 + ,151036 + ,515038 + ,263 + ,36 + ,138 + ,189748 + ,33287 + ,180745 + ,56 + ,23 + ,71 + ,61834 + ,31172 + ,185559 + ,59 + ,30 + ,107 + ,68167 + ,28113 + ,154581 + ,44 + ,30 + ,50 + ,38462 + ,57803 + ,298001 + ,96 + ,26 + ,79 + ,101219 + ,49830 + ,121844 + ,75 + ,24 + ,58 + ,43270 + ,52143 + ,184039 + ,69 + ,30 + ,91 + ,76183 + ,21055 + ,100324 + ,98 + ,22 + ,41 + ,31476 + ,47007 + ,220269 + ,119 + ,28 + ,100 + ,62157 + ,28735 + ,170952 + ,61 + ,18 + ,61 + ,46261 + ,59147 + ,154647 + ,88 + ,22 + ,74 + ,50063 + ,78950 + ,142018 + ,57 + ,33 + ,131 + ,64483 + ,13497 + ,79030 + ,61 + ,15 + ,45 + ,2341 + ,46154 + ,167047 + ,87 + ,34 + ,110 + ,48149 + ,53249 + ,27997 + ,24 + ,18 + ,41 + ,12743 + ,10726 + ,73019 + ,59 + ,15 + ,37 + ,18743 + ,83700 + ,241082 + ,100 + ,30 + ,84 + ,97057 + ,40400 + ,195820 + ,72 + ,25 + ,67 + ,17675 + ,33797 + ,142001 + ,54 + ,34 + ,69 + ,33106 + ,36205 + ,145433 + ,86 + ,21 + ,58 + ,53311 + ,30165 + ,183744 + ,32 + ,21 + ,60 + ,42754 + ,58534 + ,202357 + ,163 + ,25 + ,88 + ,59056 + ,44663 + ,199532 + ,93 + ,31 + ,75 + ,101621 + ,92556 + ,354924 + ,118 + ,31 + ,98 + ,118120 + ,40078 + ,192399 + ,44 + ,20 + ,67 + ,79572 + ,34711 + ,182286 + ,44 + ,28 + ,84 + ,42744 + ,31076 + ,181590 + ,45 + ,22 + ,62 + ,65931 + ,74608 + ,133801 + ,105 + ,17 + ,35 + ,38575 + ,58092 + ,233686 + ,123 + ,25 + ,74 + ,28795 + ,42009 + ,219428 + ,53 + ,24 + ,89 + ,94440 + ,0 + ,0 + ,1 + ,0 + ,0 + ,0 + ,36022 + ,223044 + ,63 + ,28 + ,79 + ,38229 + ,23333 + ,100129 + ,51 + ,14 + ,39 + ,31972 + ,53349 + ,145864 + ,49 + ,35 + ,101 + ,40071 + ,92596 + ,249965 + ,64 + ,34 + ,135 + ,132480 + ,49598 + ,242379 + ,71 + ,22 + ,76 + ,62797 + ,44093 + ,145794 + ,59 + ,34 + ,118 + ,40429 + ,84205 + ,103623 + ,33 + ,23 + ,76 + ,45545 + ,63369 + ,195891 + ,78 + ,24 + ,65 + ,57568 + ,60132 + ,117156 + ,50 + ,26 + ,97 + ,39019 + ,37403 + ,157787 + ,95 + ,22 + ,67 + ,53866 + ,24460 + ,81293 + ,32 + ,35 + ,63 + ,38345 + ,46456 + ,237435 + ,101 + ,24 + ,96 + ,50210 + ,66616 + ,233155 + ,89 + ,31 + ,112 + ,80947 + ,41554 + ,160344 + ,59 + ,26 + ,75 + ,43461 + ,22346 + ,48188 + ,28 + ,22 + ,39 + ,14812 + ,30874 + ,161922 + ,69 + ,21 + ,63 + ,37819 + ,68701 + ,307432 + ,74 + ,27 + ,93 + ,102738 + ,35728 + ,235223 + ,79 + ,30 + ,76 + ,54509 + ,29010 + ,195583 + ,59 + ,33 + ,117 + ,62956 + ,23110 + ,146061 + ,56 + ,11 + ,30 + ,55411 + ,38844 + ,208834 + ,67 + ,26 + ,65 + ,50611 + ,27084 + ,93764 + ,24 + ,26 + ,78 + ,26692 + ,35139 + ,151985 + ,66 + ,23 + ,87 + ,60056 + ,57476 + ,193222 + ,96 + ,38 + ,85 + ,25155 + ,33277 + ,148922 + ,60 + ,31 + ,115 + ,42840 + ,31141 + ,132856 + ,80 + ,20 + ,62 + ,39358 + ,61281 + ,129561 + ,61 + ,22 + ,60 + ,47241 + ,25820 + ,112718 + ,37 + ,26 + ,67 + ,49611 + ,23284 + ,160930 + ,35 + ,26 + ,90 + ,41833 + ,35378 + ,99184 + ,41 + ,33 + ,100 + ,48930 + ,74990 + ,192535 + ,70 + ,36 + ,135 + ,110600 + ,29653 + ,138708 + ,65 + ,25 + ,71 + ,52235 + ,64622 + ,114408 + ,38 + ,24 + ,75 + ,53986 + ,4157 + ,31970 + ,15 + ,21 + ,42 + ,4105 + ,29245 + ,225558 + ,112 + ,19 + ,42 + ,59331 + ,50008 + ,139220 + ,72 + ,12 + ,8 + ,47796 + ,52338 + ,113612 + ,68 + ,30 + ,86 + ,38302 + ,13310 + ,108641 + ,71 + ,21 + ,41 + ,14063 + ,92901 + ,162203 + ,67 + ,34 + ,118 + ,54414 + ,10956 + ,100098 + ,44 + ,32 + ,91 + ,9903 + ,34241 + ,174768 + ,60 + ,28 + ,102 + ,53987 + ,75043 + ,158459 + ,97 + ,28 + ,89 + ,88937 + ,21152 + ,80934 + ,30 + ,21 + ,46 + ,21928 + ,42249 + ,84971 + ,71 + ,31 + ,60 + ,29487 + ,42005 + ,80545 + ,68 + ,26 + ,69 + ,35334 + ,41152 + ,287191 + ,64 + ,29 + ,95 + ,57596 + ,14399 + ,62974 + ,28 + ,23 + ,17 + ,29750 + ,28263 + ,134091 + ,40 + ,25 + ,61 + ,41029 + ,17215 + ,75555 + ,46 + ,22 + ,55 + ,12416 + ,48140 + ,162154 + ,55 + ,26 + ,55 + ,51158 + ,62897 + ,227638 + ,229 + ,33 + ,124 + ,79935 + ,22883 + ,115367 + ,112 + ,24 + ,73 + ,26552 + ,41622 + ,108749 + ,62 + ,24 + ,73 + ,25807 + ,40715 + ,155537 + ,52 + ,21 + ,67 + ,50620 + ,65897 + ,153133 + ,41 + ,28 + ,66 + ,61467 + ,76542 + ,165618 + ,78 + ,27 + ,75 + ,65292 + ,37477 + ,151517 + ,57 + ,25 + ,83 + ,55516 + ,53216 + ,133686 + ,58 + ,15 + ,55 + ,42006 + ,40911 + ,61342 + ,40 + ,13 + ,27 + ,26273 + ,57021 + ,245196 + ,117 + ,36 + ,115 + ,90248 + ,73116 + ,195576 + ,70 + ,24 + ,76 + ,61476 + ,3895 + ,19349 + ,12 + ,1 + ,0 + ,9604 + ,46609 + ,225371 + ,105 + ,24 + ,83 + ,45108 + ,29351 + ,153213 + ,78 + ,31 + ,90 + ,47232 + ,2325 + ,59117 + ,29 + ,4 + ,4 + ,3439 + ,31747 + ,91762 + ,24 + ,21 + ,60 + ,30553 + ,32665 + ,136769 + ,54 + ,23 + ,63 + ,24751 + ,19249 + ,114798 + ,61 + ,23 + ,52 + ,34458 + ,15292 + ,85338 + ,40 + ,12 + ,24 + ,24649 + ,5842 + ,27676 + ,22 + ,16 + ,17 + ,2342 + ,33994 + ,153535 + ,48 + ,29 + ,105 + ,52739 + ,13018 + ,122417 + ,37 + ,26 + ,20 + ,6245 + ,0 + ,0 + ,0 + ,0 + ,0 + ,0 + ,98177 + ,91529 + ,32 + ,25 + ,51 + ,35381 + ,37941 + ,107205 + ,67 + ,21 + ,76 + ,19595 + ,31032 + ,144664 + ,45 + ,23 + ,59 + ,50848 + ,32683 + ,146445 + ,63 + ,21 + ,70 + ,39443 + ,34545 + ,76656 + ,60 + ,21 + ,38 + ,27023 + ,0 + ,3616 + ,5 + ,0 + ,0 + ,0 + ,0 + ,0 + ,0 + ,0 + ,0 + ,0 + ,27525 + ,183088 + ,44 + ,23 + ,81 + ,61022 + ,66856 + ,144677 + ,84 + ,33 + ,78 + ,63528 + ,28549 + ,159104 + ,98 + ,30 + ,73 + ,34835 + ,38610 + ,113273 + ,38 + ,23 + ,89 + ,37172 + ,2781 + ,43410 + ,19 + ,1 + ,3 + ,13 + ,41211 + ,175774 + ,73 + ,29 + ,87 + ,62548 + ,22698 + ,95401 + ,42 + ,18 + ,51 + ,31334 + ,41194 + ,134837 + ,55 + ,33 + ,73 + ,20839 + ,32689 + ,60493 + ,40 + ,12 + ,32 + ,5084 + ,5752 + ,19764 + ,12 + ,2 + ,4 + ,9927 + ,26757 + ,164062 + ,56 + ,21 + ,70 + ,53229 + ,22527 + ,132696 + ,33 + ,28 + ,102 + ,29877 + ,44810 + ,155367 + ,54 + ,29 + ,91 + ,37310 + ,0 + ,11796 + ,9 + ,2 + ,1 + ,0 + ,0 + ,10674 + ,9 + ,0 + ,0 + ,0 + ,100674 + ,142261 + ,57 + ,18 + ,39 + ,50067 + ,0 + ,6836 + ,3 + ,1 + ,0 + ,0 + ,57786 + ,162563 + ,63 + ,21 + ,45 + ,47708 + ,0 + ,5118 + ,3 + ,0 + ,0 + ,0 + ,5444 + ,40248 + ,16 + ,4 + ,7 + ,6012 + ,0 + ,0 + ,0 + ,0 + ,0 + ,0 + ,28470 + ,122641 + ,47 + ,25 + ,75 + ,27749 + ,61849 + ,88837 + ,38 + ,26 + ,52 + ,47555 + ,0 + ,7131 + ,4 + ,0 + ,0 + ,0 + ,2179 + ,9056 + ,14 + ,4 + ,1 + ,1336 + ,8019 + ,76611 + ,24 + ,17 + ,49 + ,11017 + ,39644 + ,132697 + ,51 + ,21 + ,69 + ,55184 + ,23494 + ,100681 + ,19 + ,22 + ,56 + ,43485) + ,dim=c(6 + ,144) + ,dimnames=list(c('Characters' + ,'TimeRFC' + ,'Logins' + ,'PR' + ,'FMinPR' + ,'CompSec ') + ,1:144)) > y <- array(NA,dim=c(6,144),dimnames=list(c('Characters','TimeRFC','Logins','PR','FMinPR','CompSec '),1:144)) > for (i in 1:dim(x)[1]) + { + for (j in 1:dim(x)[2]) + { + y[i,j] <- as.numeric(x[i,j]) + } + } > par1 = 'pearson' > main = 'Correlation Matrix' > #'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: > 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/wessaorg/rcomp/tmp/14p7v1324478182.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/wessaorg/rcomp/createtable file can be downloaded at http://www.wessa.net/cretab > load(file="/var/wessaorg/rcomp/createtable") > > n <- length(y[,1]) > n [1] 6 > 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/wessaorg/rcomp/tmp/2ob631324478182.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) Pearson's product-moment correlation data: y[1, ] and y[2, ] t = 11.3977, df = 142, p-value < 2.2e-16 alternative hypothesis: true correlation is not equal to 0 95 percent confidence interval: 0.5948892 0.7679522 sample estimates: cor 0.6912044 > 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 15 warnings (use warnings() to see them) > a<-table.end(a) > table.save(a,file="/var/wessaorg/rcomp/tmp/3arkm1324478182.tab") > > try(system("convert tmp/14p7v1324478182.ps tmp/14p7v1324478182.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 1.166 0.140 1.301