Send output to:
Browser Blue - Charts White
Browser Black/White
CSV
Data:
89.3 88.1 93.6 79.7 83.8 62.3 62.3 77.6 80.3 97 94 75.1 74 77.6 75.1 85 75.4 63.2 64.7 77 82.6 97.6 99 75.3 71.6 76.8 83.9 79.7 77.5 73.1 65.6 85.2 98.3 98 100.6 84.1 76.7 82.4 95.5 79.9 82.4 83.6 73.1 91.1 118.6 102.9 111.8 93.9 91.6 92 91.1 97.5 94.7 96.7 78.7 103.5 113.8 106.1 120.3 114.2 106.3 98.8 113.1 97.7 116.3 107.2 94.5 123.5 126.6 126.5 141.4 124.3 124.9 108.9 126.7 107.7 121.8 118.3 122.8 149.5 147 139.3 162.1 142.2 141.4 124.7 114 126.6 121.9 125.1 122.1 135.9 148.4 137.5 145.3 139.9 128.2 115.4 124.7 111.5 121.1 122.5 127.4 143.7 157.8 148.8 162.9 153.9
Chart options
R Code
library(Hmisc) m <- mean(x) e <- median(x) bitmap(file='test1.png') op <- par(mfrow=c(2,1)) mydensity1 <- density(x,kernel='gaussian',na.rm=TRUE) plot(mydensity1,main='Density Plot - Gaussian Kernel',xlab='Median (0 -> full line) | Mean (0 -> dashed line)',ylab='density') abline(v=e,lty=1) abline(v=m,lty=5) grid() myseq <- seq(0.01, 0.99, 0.01) hd <- hdquantile(x, probs = myseq, se = TRUE, na.rm = FALSE, names = TRUE, weights=FALSE) plot(myseq,hd,col=2,main='Harrell-Davis Quantiles',xlab='quantiles',ylab='Median (0 -> full) | Mean (0 -> dashed)') abline(h=m,lty=5) abline(h=e,lty=1) grid() par(op) dev.off() load(file='createtable') a<-table.start() a<-table.row.start(a) a<-table.element(a,'Median versus Mean',2,TRUE) a<-table.row.end(a) a<-table.row.start(a) a<-table.element(a,'mean',header=TRUE) a<-table.element(a,mean(x)) a<-table.row.end(a) a<-table.row.start(a) a<-table.element(a,'median',header=TRUE) a<-table.element(a,median(x)) 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