Send output to:
Browser Blue - Charts White
Browser Black/White
CSV
Data X:
22 24 26 21 26 25 21 24 27 28 23 25 24 24 24 25 25 NA 25 25 24 26 26 25 26 23 24 24 25 25 24 28 27 NA 23 23 24 24 22 25 25 28 22 28 25 24 24 23 25 NA 26 25 27 26 23 25 21 22 24 25 27 24 26 21 27 22 23 24 25 24 23 28 NA 24 26 22 25 25 24 24 26 21 25 25 26 25 26 27 25 NA 20 24 26 25 25 24 26 25 28 27 25 26 26 26 NA 28 NA 21 25 25 24 24 24 23 23 24 24 25 28 23 24 23 24 25 24 23 23 25 21 22 19 24 25 21 22 23 27 NA 26 29 28 24 25 25 22 25 26 26 24 25 19 25 23 25 25 26 27 24 22 25 24 23 27 24 24 21 25 25 23
Data Y:
14 19 17 17 15 20 15 19 15 15 19 NA 20 18 15 14 20 NA 16 16 16 10 19 19 16 15 18 17 19 17 NA 19 20 5 19 16 15 16 18 16 15 17 NA 20 19 7 13 16 16 NA 18 18 16 17 19 16 19 13 16 13 12 17 17 17 16 16 14 16 13 16 14 20 12 13 18 14 19 18 14 18 19 15 14 17 19 13 19 18 20 15 15 15 20 15 19 18 18 15 20 17 12 18 19 20 NA 17 15 16 18 18 14 15 12 17 14 18 17 17 20 16 14 15 18 20 17 17 17 17 15 17 18 17 20 15 16 15 18 11 15 18 20 19 14 16 15 17 18 20 17 18 15 16 11 15 18 17 16 12 19 18 15 17 19 18 19 16 16 16 14
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
0 seconds
R Server
Big Analytics Cloud Computing Center
Click here to blog (archive) this computation