Send output to:
Browser Blue - Charts White
Browser Black/White
CSV
Data X:
-1.2 -2.4 0.8 -0.1 -1.5 -4.4 -4.2 3.5 10 8.6 9.5 9.9 10.4 16 12.7 10.2 8.9 12.6 13.6 14.8 9.5 13.7 17 14.7 17.4 9 9.1 12.2 15.9 12.9 10.9 10.6 13.2 9.6 6.4 5.8 -1 -0.2 2.7 3.6 -0.9 0.3 -1.1 -2.5 -3.4 -3.5 -3.9 -4.6 -0.1 4.3 10.2 8.7 13.3 15 20.7 20.7 26.4 31.2 31.4 26.6 26.6 19.2 6.5 3.1 -0.2 -4 -12.6 -13 -17.6 -21.7 -23.2 -16.8 -19.8
Data Y:
23.6 25.7 32.5 33.5 34.5 27.9 45.3 40.8 58.5 32.5 35.5 46.7 53.2 36.1 54 58.1 41.8 43.1 76 42.8 41 61.4 34.2 53.8 80.7 79.5 96.5 108.3 100.1 108.5 127.4 86.5 71.4 88.2 135.6 70.5 87.5 73.3 92.2 61.1 45.7 30.5 34.8 29.2 56.7 67.1 41.8 46.8 50.1 81.9 115.8 102.5 106.6 101.4 136.1 143.4 127.5 113.8 75.3 98.5 113.7 103.7 73.9 52.5 63.9 44.9 31.3 24.9 22.8 24.8 22.8 20.9 21.5
Sample Range:
(leave blank to include all observations)
From:
To:
xgridsize
ygridsize
xbandwidth
(zero to use default)
ybandwidth
(zero to use default)
correlation
(zero to use actual correlation)
display contours
(Y/N)
Y
Y
N
display data points
(Y/N)
Y
Y
N
colors
terrain.colors
rainbow
heat.colors
topo.colors
cm.colors
Chart options
Title:
Label y-axis:
Label x-axis:
R Code
par1 <- as(par1,'numeric') par2 <- as(par2,'numeric') par3 <- as(par3,'numeric') par4 <- as(par4,'numeric') par5 <- as(par5,'numeric') library('GenKern') if (par3==0) par3 <- dpik(x) if (par4==0) par4 <- dpik(y) if (par5==0) par5 <- cor(x,y) if (par1 > 500) par1 <- 500 if (par2 > 500) par2 <- 500 bitmap(file='bidensity.png') op <- KernSur(x,y, xgridsize=par1, ygridsize=par2, correlation=par5, xbandwidth=par3, ybandwidth=par4) image(op$xords, op$yords, op$zden, col=terrain.colors(100), axes=TRUE,main=main,xlab=xlab,ylab=ylab) if (par6=='Y') contour(op$xords, op$yords, op$zden, add=TRUE) if (par7=='Y') points(x,y) (r<-lm(y ~ x)) abline(r) box() dev.off() load(file='createtable') a<-table.start() a<-table.row.start(a) a<-table.element(a,'Bandwidth',2,TRUE) a<-table.row.end(a) a<-table.row.start(a) a<-table.element(a,'x axis',header=TRUE) a<-table.element(a,par3) a<-table.row.end(a) a<-table.row.start(a) a<-table.element(a,'y axis',header=TRUE) a<-table.element(a,par4) a<-table.row.end(a) a<-table.row.start(a) a<-table.element(a,'Correlation',2,TRUE) a<-table.row.end(a) a<-table.row.start(a) a<-table.element(a,'correlation used in KDE',header=TRUE) a<-table.element(a,par5) a<-table.row.end(a) a<-table.row.start(a) a<-table.element(a,'correlation(x,y)',header=TRUE) a<-table.element(a,cor(x,y)) 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