Send output to:
Browser Blue - Charts White
Browser Black/White
CSV
Data X:
101.6 101.2 111.6 109.4 105.4 119.6 87.7 93.8 115.6 121.3 104.9 103.9 95.2 102 117.4 111.3 109.6 123 88.8 98.8 119.9 122.1 115.5 107.1 99.3 102.5 111.2 109.7 109.8 124.4 85.6 95.4 115.1 116.2 120 109.9 104 104.3 120.2 112.5 122.3 130 94.8 103.9 128.8 137.6 130.8 125.2 119.1 120.4 136.6 129.8 135.8 151 105 117.3 144.6 154.6 137.3 129 125.3
Data Y:
93.5 98.8 106.2 98.3 102.1 117.1 101.5 80.5 105.9 109.5 97.2 114.5 93.5 100.9 121.1 116.5 109.3 118.1 108.3 105.4 116.2 111.2 105.8 122.7 99.5 107.9 124.6 115 110.3 132.7 99.7 96.5 118.7 112.9 130.5 137.9 115 116.8 140.9 120.7 134.2 147.3 112.4 107.1 128.4 137.7 135 151 137.4 132.4 161.3 139.8 146 166.5 143.3 121 152.6 154.4 154.6 158 142.6
Data Z:
80.8 84.5 91.3 83.3 81.9 87.1 69.1 73.5 93.9 95 89 90.8 74.7 81 97.7 86.2 88.7 96.4 94.8 75 90.8 94.5 85.8 95.5 79.6 79.8 88.3 80.2 87.6 102.6 75.1 74 97.5 91.9 97.6 97.4 86.4 88.2 100.7 90.6 91.8 104.1 79.6 78.3 100.4 103.6 98.4 99.8 87.7 83.9 96.1 90.1 89.7 100.4 81.4 80.9 99.3 109 99.6 93.8 89.6
Sample Range:
(leave blank to include all observations)
From:
To:
gridsize on x-axis
(?)
gridsize on y-axis
(?)
plot contours
Y
Y
N
plot points
Y
Y
N
Name of dataset X
Name of dataset Y
Name of dataset Z
Chart options
R Code
x <- array(x,dim=c(length(x),1)) colnames(x) <- par5 y <- array(y,dim=c(length(y),1)) colnames(y) <- par6 z <- array(z,dim=c(length(z),1)) colnames(z) <- par7 d <- data.frame(cbind(z,y,x)) colnames(d) <- list(par7,par6,par5) par1 <- as.numeric(par1) par2 <- as.numeric(par2) if (par1>500) par1 <- 500 if (par2>500) par2 <- 500 if (par1<10) par1 <- 10 if (par2<10) par2 <- 10 library(GenKern) library(lattice) panel.hist <- function(x, ...) { usr <- par('usr'); on.exit(par(usr)) par(usr = c(usr[1:2], 0, 1.5) ) h <- hist(x, plot = FALSE) breaks <- h$breaks; nB <- length(breaks) y <- h$counts; y <- y/max(y) rect(breaks[-nB], 0, breaks[-1], y, col='black', ...) } bitmap(file='cloud1.png') cloud(z~x*y, screen = list(x=-45, y=45, z=35),xlab=par5,ylab=par6,zlab=par7) dev.off() bitmap(file='cloud2.png') cloud(z~x*y, screen = list(x=35, y=45, z=25),xlab=par5,ylab=par6,zlab=par7) dev.off() bitmap(file='cloud3.png') cloud(z~x*y, screen = list(x=35, y=-25, z=90),xlab=par5,ylab=par6,zlab=par7) dev.off() bitmap(file='pairs.png') pairs(d,diag.panel=panel.hist) dev.off() x <- as.vector(x) y <- as.vector(y) z <- as.vector(z) bitmap(file='bidensity1.png') op <- KernSur(x,y, xgridsize=par1, ygridsize=par2, correlation=cor(x,y), xbandwidth=dpik(x), ybandwidth=dpik(y)) image(op$xords, op$yords, op$zden, col=terrain.colors(100), axes=TRUE,main='Bivariate Kernel Density Plot (x,y)',xlab=par5,ylab=par6) if (par3=='Y') contour(op$xords, op$yords, op$zden, add=TRUE) if (par4=='Y') points(x,y) (r<-lm(y ~ x)) abline(r) box() dev.off() bitmap(file='bidensity2.png') op <- KernSur(y,z, xgridsize=par1, ygridsize=par2, correlation=cor(y,z), xbandwidth=dpik(y), ybandwidth=dpik(z)) op image(op$xords, op$yords, op$zden, col=terrain.colors(100), axes=TRUE,main='Bivariate Kernel Density Plot (y,z)',xlab=par6,ylab=par7) if (par3=='Y') contour(op$xords, op$yords, op$zden, add=TRUE) if (par4=='Y') points(y,z) (r<-lm(z ~ y)) abline(r) box() dev.off() bitmap(file='bidensity3.png') op <- KernSur(x,z, xgridsize=par1, ygridsize=par2, correlation=cor(x,z), xbandwidth=dpik(x), ybandwidth=dpik(z)) op image(op$xords, op$yords, op$zden, col=terrain.colors(100), axes=TRUE,main='Bivariate Kernel Density Plot (x,z)',xlab=par5,ylab=par7) if (par3=='Y') contour(op$xords, op$yords, op$zden, add=TRUE) if (par4=='Y') points(x,z) (r<-lm(z ~ x)) abline(r) box() dev.off()
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