Send output to:
Browser Blue - Charts White
Browser Black/White
CSV
Data X:
-3 -2 0 1 11 14 14 16 14 10 15 18 18 12 8 2 -2 -1 1 -6 -16 -21 -38 -32 -22 -31 -22 -26 -19 -20 -24 -29 -28 -31 -30 -32 -38 -43 -51 -43 -43 -42 -47 -45 -38 -46 -38 -32 -27 -26 -21 -23 -24 -17 -23 -16 -22 -26 -25 -21 -21 -18 -12 -19 -31 -38 -38 -32 -43 -33 -28 -25 -19 -20 -21 -19 -17 -16 -10 -16 -10 -8 -7 -15 -7 -6 -6 2 -4 -4 -8 -10 -16 -14 -30 -33 -40 -38 -39 -46 -50 -55 -66 -63 -56 -66
Data Y:
17 22 29 26 29 42 40 34 46 43 44 40 41 42 35 40 43 47 41 44 38 35 34 31 25 35 36 41 41 38 39 45 46 48 48 48 45 44 45 45 45 42 43 50 46 46 45 49 46 45 49 47 45 48 51 48 49 51 54 52 52 53 51 55 53 51 52 54 58 57 52 50 53 50 50 51 53 49 54 57 58 56 60 55 54 52 55 56 54 53 59 62 63 64 75 77 79 77 82 83 81 78 79 79 73 72
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