Send output to:
Browser Blue - Charts White
Browser Black/White
CSV
Data X:
15.73 3.56 142.86 16.17 1.33 380.71 12.00 0.00 460.00 12.86 0.69 361.43 10.30 10.05 140.00 12.97 0.51 275.00 12.06 0.91 274.29 10.49 2.67 212.86 5.97 1.39 172.86 9.26 1.24 186.43 9.74 2.79 77.14 5.46 3.37 17.86 2.71 1.60 37.14 3.90 4.73 42.86 1.51 0.79 85.00 5.01 0.67 45.00 2.96 0.00 206.43 -1.97 0.60 178.57 -4.61 0.40 285.71 4.27 2.24 58.57 4.01 5.74 88.57 0.04 0.06 309.29 3.04 0.87 58.57 2.29 4.91 132.14 4.37 1.93 3.57 6.39 0.41 102.86 5.74 1.21 185.71 7.64 2.01 177.14 7.07 0.00 530.00 6.23 6.49 162.86 10.20 0.00 553.57 14.07 0.31 258.57 12.83 4.87 326.43 12.04 1.37 580.00 11.97 0.19 286.43 12.63 0.34 310.71 13.56 3.60 148.57 15.66 0.10 627.14 16.34 2.10 477.86 14.09 0.10 385.71 15.03 7.27 327.86 16.09 0.76 402.14 19.27 1.09 567.86 22.50 0.34 678.57 16.07 4.13 253.57 19.11 1.89 459.29 18.66 3.80 331.43 18.29 2.47 421.43 20.26 0.00 595.00 19.20 1.01 425.71 20.10 1.21 603.57 17.93 0.54 420.00 16.11 2.86 308.57 16.90 0.04 325.00 16.14 1.03 319.29 15.04 0.23 452.86 13.41 0.20 83.57 14.14 13.87 99.43 9.59 0.36 312.71 10.74 0.56 128.00 11.67 1.98 152.67 8.09 3.83 135.00 10.07 1.46 57.71 11.80 2.00 190.43 12.01 4.96 12.86 6.61 2.76 32.43 6.47 2.10 38.29 -3.11 2.09 210.14 1.94 2.21 109.14 1.10 2.90 71.43 -3.40 0.57 102.29 1.64 1.79 48.43 3.11 0.80 70.43 -0.16 2.66 139.86 3.80 1.70 83.14 -2.39 0.79 27.71 1.51 0.30 96.14 7.24 8.09 40.57 2.00 0.97 364.71 2.11 0.07 207.43 10.54 1.47 156.29 11.10 2.74 229.00 7.34 3.14 160.43 9.53 0.96 357.43 9.71 0.00 542.00 10.14 0.00 578.43 13.93 2.80 427.43 8.33 0.23 130.29 8.31 2.69 174.29 13.83 0.23 679.14 14.50 3.60 389.43 16.71 0.93 532.57 16.49 2.56 253.71 14.57 0.74 414.14 19.04 0.07 719.71 22.84 0.76 639.86 22.23 2.73 619.71 19.56 4.30 507.14 19.76 0.19 463.86 18.36 1.19 254.14 16.99 1.43 226.29 16.87 9.63 299.57 18.50 10.44 274.00 16.51 4.36 253.29
Names of X columns:
Temperatuur Neerslag Zonneschijnduur
Type of Correlation
pearson
pearson
spearman
kendall
Chart options
Title:
R Code
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', ...) } bitmap(file='test1.png') pairs(t(y),diag.panel=panel.hist, upper.panel=panel.smooth, lower.panel=panel.tau, main=main) dev.off() load(file='createtable') n <- length(y[,1]) n 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='mytable.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) 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) } } a<-table.end(a) table.save(a,file='mytable1.tab')
Compute
Summary of computational transaction
Raw Input
view raw input (R code)
Raw Output
view raw output of R engine
Computing time
1 seconds
R Server
Big Analytics Cloud Computing Center
Click here to blog (archive) this computation