Send output to:
Browser Blue - Charts White
Browser Black/White
CSV
Data X:
2 2 2 3 4 3 4 2 NA 4 2 2 5 4 2 3 1 1 3 4 5 5 1 4 2 4 4 3 4 2 2 4 2 4 2 4 3 3 4 2 3 2 4 2 2 3 3 NA 4 5 4 4 4 2 2 1 3 4 3 3 2 3 2 4 3 2 4 5 4 3 2 3 4 4 4 5 4 4 4 3 2 4 4 4 2 2 1 NA 4 4 4 3 4 4 4 2 4 4 1 4 2 3 3 4 3 4 4 4 4 5 5 2 1 3 3 1 4 4 2 4 3 4 4 2 2 4 4 2 2 2 2 5 2 NA 2 4 5 4 4 3 3 1 4 5 4 4 5 4 5 5 3 5 1 3 2 2 NA 4 2 5 4 5 3 2 4 2 3 3 2
Data Y:
3 4 5 4 4 5 5 5 5 5 5 4 4 4 4 5 4 NA 4 5 4 4 4 4 5 5 4 4 5 5 3 5 4 5 4 5 4 4 4 5 4 5 3 5 4 5 5 4 3 NA 5 5 4 3 4 4 4 4 4 4 5 4 4 4 4 4 5 4 4 4 4 4 3 4 4 4 5 4 4 5 5 3 5 4 5 5 5 5 4 4 2 4 5 5 5 4 4 4 5 4 NA 5 4 4 4 5 4 5 4 4 4 3 4 3 5 4 4 5 4 4 4 4 4 4 5 4 4 5 4 4 3 4 4 4 3 4 5 3 4 5 5 4 4 4 3 5 4 5 4 4 3 4 4 4 3 4 5 3 4 5 4 5 4 4 4 4 4 3 4
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