R version 3.3.1 (2016-06-21) -- "Bug in Your Hair" Copyright (C) 2016 The R Foundation for Statistical Computing Platform: x86_64-pc-linux-gnu (64-bit) R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > x <- array(list(21571.00 + ,21493.00 + ,21422.00 + ,21272.00 + ,22747.00 + ,22676.00 + ,21571.00 + ,20831.00 + ,20909.00 + ,20909.00 + ,20980.00 + ,21130.00 + ,21051.00 + ,21643.00 + ,21864.00 + ,21643.00 + ,22455.00 + ,21935.00 + ,20759.00 + ,20467.00 + ,20467.00 + ,20610.00 + ,20026.00 + ,20467.00 + ,20097.00 + ,20467.00 + ,21051.00 + ,21272.00 + ,21792.00 + ,21571.00 + ,20246.00 + ,19726.00 + ,19506.00 + ,19726.00 + ,19363.00 + ,19506.00 + ,19064.00 + ,19805.00 + ,20168.00 + ,20246.00 + ,21643.00 + ,21643.00 + ,19805.00 + ,19363.00 + ,19363.00 + ,19584.00 + ,18622.00 + ,18180.00 + ,17668.00 + ,17817.00 + ,18480.00 + ,17960.00 + ,19363.00 + ,19584.00 + ,18180.00 + ,17668.00 + ,17375.00 + ,17668.00 + ,16855.00 + ,16563.00 + ,15388.00 + ,15680.00 + ,15751.00 + ,15830.00 + ,17226.00 + ,17076.00 + ,15388.00 + ,14647.00 + ,14355.00 + ,14725.00 + ,13322.00 + ,12367.00 + ,10601.00 + ,10750.00 + ,10750.00 + ,10601.00 + ,11854.00 + ,11926.00 + ,10451.00 + ,10159.00 + ,9568.00 + ,10380.00 + ,8905.00 + ,8022.00 + ,6333.00 + ,6697.00 + ,6255.00 + ,6404.00 + ,7509.00 + ,7730.00 + ,6996.00 + ,6917.00 + ,6917.00 + ,7879.00 + ,6184.00 + ,5079.00 + ,3163.00 + ,4709.00 + ,4488.00 + ,4566.00 + ,6333.00 + ,6112.00 + ,5300.00 + ,5671.00 + ,5671.00 + ,6996.00 + ,5450.00 + ,4566.00 + ,3163.00 + ,5008.00 + ,4859.00 + ,4930.00 + ,6476.00 + ,6333.00 + ,5813.00 + ,5892.00 + ,6255.00 + ,7067.00 + ,5813.00 + ,4787.00) + ,dim=c(1 + ,120) + ,dimnames=list(c('V1') + ,1:120)) > y <- array(NA,dim=c(1,120),dimnames=list(c('V1'),1:120)) > for (i in 1:dim(x)[1]) + { + for (j in 1:dim(x)[2]) + { + y[i,j] <- as.numeric(x[i,j]) + } + } > par2 = 'no' > par1 = 'grey' > ylab = 'Omzet in EUR op jaarbasis' > xlab = 'Reeks A' > main = 'Boxplot Webcam-omzet' > z <- as.data.frame(t(y)) > postscript(file="/var/wessaorg/rcomp/tmp/194ee1471270561.ps",horizontal=F,onefile=F,pagecentre=F,paper="special",width=8.3333333333333,height=5.5555555555556) > (r<-boxplot(z ,xlab=xlab,ylab=ylab,main=main,notch=TRUE,col=par1)) $stats [,1] [1,] 3163.0 [2,] 6956.5 [3,] 16965.5 [4,] 20356.5 [5,] 22747.0 $n [1] 120 $conf [,1] [1,] 15032.77 [2,] 18898.23 $out numeric(0) $group numeric(0) $names [1] "V1" > dev.off() null device 1 > > #Note: the /var/wessaorg/rcomp/createtable file can be downloaded at http://www.wessa.net/cretab > load(file="/var/wessaorg/rcomp/createtable") > > a<-table.start() > a<-table.row.start(a) > a<-table.element(a,hyperlink('http://www.xycoon.com/overview.htm','Boxplot statistics','Boxplot overview'),6,TRUE) > a<-table.row.end(a) > a<-table.row.start(a) > a<-table.element(a,'Variable',1,TRUE) > a<-table.element(a,hyperlink('http://www.xycoon.com/lower_whisker.htm','lower whisker','definition of lower whisker'),1,TRUE) > a<-table.element(a,hyperlink('http://www.xycoon.com/lower_hinge.htm','lower hinge','definition of lower hinge'),1,TRUE) > a<-table.element(a,hyperlink('http://www.xycoon.com/central_tendency.htm','median','definitions about measures of central tendency'),1,TRUE) > a<-table.element(a,hyperlink('http://www.xycoon.com/upper_hinge.htm','upper hinge','definition of upper hinge'),1,TRUE) > a<-table.element(a,hyperlink('http://www.xycoon.com/upper_whisker.htm','upper whisker','definition of upper whisker'),1,TRUE) > a<-table.row.end(a) > for (i in 1:length(y[,1])) + { + a<-table.row.start(a) + a<-table.element(a,dimnames(t(x))[[2]][i],1,TRUE) + for (j in 1:5) + { + a<-table.element(a,r$stats[j,i]) + } + a<-table.row.end(a) + } > a<-table.end(a) > table.save(a,file="/var/wessaorg/rcomp/tmp/2dpau1471270561.tab") > a<-table.start() > a<-table.row.start(a) > a<-table.element(a,'Boxplot Notches',4,TRUE) > a<-table.row.end(a) > a<-table.row.start(a) > a<-table.element(a,'Variable',1,TRUE) > a<-table.element(a,'lower bound',1,TRUE) > a<-table.element(a,'median',1,TRUE) > a<-table.element(a,'upper bound',1,TRUE) > a<-table.row.end(a) > for (i in 1:length(y[,1])) + { + a<-table.row.start(a) + a<-table.element(a,dimnames(t(x))[[2]][i],1,TRUE) + a<-table.element(a,r$conf[1,i]) + a<-table.element(a,r$stats[3,i]) + a<-table.element(a,r$conf[2,i]) + a<-table.row.end(a) + } > a<-table.end(a) > table.save(a,file="/var/wessaorg/rcomp/tmp/3z9tx1471270561.tab") > > try(system("convert tmp/194ee1471270561.ps tmp/194ee1471270561.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 0.759 0.086 0.857