Send output to:
Browser Blue - Charts White
Browser Black/White
CSV
Data X:
4.1 1.7 8 5 6 4.8 3.8 2.7 1 8.4 6.1 4.8 2.2 0.6 2.8 7.4 6.3 2.3 1.1 3.4 6.1 2.9 1.9 0.6 7.2 1.6 2.5 3.5 4 0.9 1.7 8.9 5.2 3.6 0.7 1.4 3.7 4.8 5.6 6.2 1.4 1.8 8.6 7.2 2.7 2.9 3.6 1.7 0.5 0.4 7.4 6.2 5.8 4.1 3.6 8.4 2.8 9 2.9 4.1
Data Y:
24.3 19 37.2 27.3 21.5 19.2 16.8 14.9 18.2 34.8 29.6 25.3 17.5 13.7 17.9 24.8 25.3 21.7 13.8 17.2 26.7 17.9 15.8 16.3 26.8 17.8 17.2 18.3 16.9 11.9 13.8 27.9 21.4 18.6 12.6 14.2 19.6 18.9 26.4 31.1 16.2 18.9 35.8 24.2 18.2 19.6 22.8 12 9 11 34.3 27.3 24.8 21 17.2 30 14 38.9 14.1 19.9
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
N
display data points
(Y/N)
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 if (par8 == 'terrain.colors') mycol <- terrain.colors(100) if (par8 == 'rainbow') mycol <- rainbow(100) if (par8 == 'heat.colors') mycol <- heat.colors(100) if (par8 == 'topo.colors') mycol <- topo.colors(100) if (par8 == 'cm.colors') mycol <- cm.colors(100) 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=mycol, 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