Send output to:
Browser Blue - Charts White
Browser Black/White
CSV
Data:
72.84 73.96 73.26 73.86 73.04 212.8 157.92 111.55 99.01 89.5 100.95 116.06 131.5 137.43 138.53 137.26 136.81 182.98 149.45 109.34 93.37 84.09 83.83 82.94 82.88 81.41 79.87 79.66 76.07 182.69 165.78 142.5 120.6 105.73 98.72 98.41 96.08 97.3 97.5 97.02 98.75 232.81 240.83 193.4 148.28 138.34 135.34 134.02 133.86 131.67 132.43 130.21 129.98 206.16 195.17 159.16 136.33 125.18 121.21 119.38 119.26 119.75 118.78 116.97 121.69 223.51 228.58 205.22 189.4 180.14 177.59 176.39 171.16 173.11 171.74 175.97 179.64 254.62 240.5 212.01 176.36 153.24 146.69 141.52 142.6 143.19 142.32 142.03 144.92 177.31 194.4 189.19 180.44 175.84 178.54 176.55
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