Send output to:
Browser Blue - Charts White
Browser Black/White
CSV
Data X:
-27 -29 -33 -27 -22 -23 -23 -15 -15 -24 -18 -14 -7 -12 -12 -15 -16 -17 -13 -8 -13 -13 -11 -16 -5 -3 -7 -10 -10 -11 -11 -19 -30 -38 -36 -40 -34 -35 -38 -32 -37 -39 -31 -30 -29 -36 -41 -42 -33 -43 -41 -34 -32 -36 -37 -30 -32 -30 -21 -19 -9 -8 -6 -4 -1 -2 -1 -4 -8 -6 -11 -11
Data Y:
1.9 2 2 1.8 1.6 1.4 0.2 0.3 0.4 0.7 1 1.1 0.8 0.8 1 1.1 1 0.8 1.6 1.5 1.6 1.6 1.6 1.9 2 1.9 2 2.1 2.3 2.3 2.6 2.6 2.7 2.6 2.6 2.4 2.5 2.5 2.5 2.4 2.1 2.1 2.3 2.3 2.3 2.9 2.8 2.9 3 3 2.9 2.6 2.8 2.9 3.1 2.8 2.4 1.6 1.5 1.7 1.4 1.1 0.8 1.2 0.8 0.9 0.9 1 0.9 1.1 1 0.7
Sample Range:
(leave blank to include all observations)
From:
To:
Chart options
Label y-axis:
Label x-axis:
R Code
k <- cor.test(x,y,method='spearman') bitmap(file='test1.png') plot(x,y,main='Scatterplot',xlab=xlab,ylab=ylab) grid() dev.off() bitmap(file='test2.png') plot(rank(x),rank(y),main='Scatterplot of Ranks',xlab=xlab,ylab=ylab) grid() dev.off() load(file='createtable') a<-table.start() a<-table.row.start(a) a<-table.element(a,'Spearman Rank Correlation',2,TRUE) a<-table.row.end(a) a<-table.row.start(a) a<-table.element(a,'rho',header=TRUE) a<-table.element(a,k$estimate) a<-table.row.end(a) a<-table.row.start(a) a<-table.element(a,'2-sided p-value',header=TRUE) a<-table.element(a,k$p.value) a<-table.row.end(a) a<-table.row.start(a) a<-table.element(a,'S',header=TRUE) a<-table.element(a,k$statistic) a<-table.row.end(a) a<-table.end(a) table.save(a,file='mytable.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