R version 2.9.0 (2009-04-17) Copyright (C) 2009 The R Foundation for Statistical Computing ISBN 3-900051-07-0 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(130 + ,87.1 + ,122.6 + ,100.0 + ,136.7 + ,110.5 + ,115.4 + ,120.3 + ,138.1 + ,110.8 + ,109 + ,130.5 + ,139.5 + ,104.2 + ,129.1 + ,118.4 + ,140.4 + ,88.9 + ,102.8 + ,114.7 + ,144.6 + ,89.8 + ,96.2 + ,110.2 + ,151.4 + ,90 + ,127.7 + ,111.4 + ,147.9 + ,93.9 + ,128.9 + ,100.9 + ,141.5 + ,91.3 + ,126.5 + ,88.7 + ,143.8 + ,87.8 + ,119.8 + ,118.2 + ,143.6 + ,99.7 + ,113.2 + ,129.5 + ,150.5 + ,73.5 + ,114.1 + ,119.2 + ,150.1 + ,79.2 + ,134.1 + ,109.8 + ,154.9 + ,96.9 + ,130 + ,117.4 + ,162.1 + ,95.2 + ,121.8 + ,143.4 + ,176.7 + ,95.6 + ,132.1 + ,162.2 + ,186.6 + ,89.7 + ,105.3 + ,148.8 + ,194.8 + ,92.8 + ,103 + ,130.5 + ,196.3 + ,88 + ,117.1 + ,166.0 + ,228.8 + ,101.1 + ,126.3 + ,143.3 + ,267.2 + ,92.7 + ,138.1 + ,139.6 + ,237.2 + ,95.8 + ,119.5 + ,171.4 + ,254.7 + ,103.8 + ,138 + ,164.7 + ,258.2 + ,81.8 + ,135.5 + ,166.3 + ,257.9 + ,87.1 + ,178.6 + ,156.2 + ,269.6 + ,105.9 + ,162.2 + ,170.4 + ,266.9 + ,108.1 + ,176.9 + ,161.5 + ,269.6 + ,102.6 + ,204.9 + ,184.3 + ,253.9 + ,93.7 + ,132.2 + ,164.3 + ,258.6 + ,103.5 + ,142.5 + ,175.2 + ,274.2 + ,100.6 + ,164.3 + ,173.1 + ,301.5 + ,113.3 + ,174.9 + ,132.7 + ,304.5 + ,102.4 + ,175.4 + ,136.2 + ,285.1 + ,102.1 + ,143 + ,163.3 + ,287.7 + ,106.9 + ,158.7 + ,160.3 + ,265.5 + ,87.3 + ,155.4 + ,175.5 + ,264.1 + ,93.1 + ,176.6 + ,159.1 + ,276.1 + ,109.1 + ,163.3 + ,164.9 + ,258.9 + ,120.3 + ,178.9 + ,171.7 + ,239.1 + ,104.9 + ,182.7 + ,222.1 + ,250.1 + ,92.6 + ,158.9 + ,195.7 + ,276.8 + ,109.8 + ,115.5 + ,235.2 + ,297.6 + ,111.4 + ,169.4 + ,233.4 + ,295.4 + ,117.9 + ,168 + ,189.1 + ,283 + ,121.6 + ,159.8 + ,230.1 + ,275.8 + ,117.8 + ,129 + ,254.1 + ,279.7 + ,124.2 + ,157.9 + ,260.2 + ,254.6 + ,106.8 + ,169.5 + ,270.3 + ,234.6 + ,102.7 + ,169.1 + ,229.6 + ,176.9 + ,116.8 + ,183.6 + ,277.6 + ,148.1 + ,113.6 + ,168.9 + ,259.0 + ,122.7 + ,96.1 + ,186.2 + ,301.3 + ,124.9 + ,85 + ,227.1 + ,271.5 + ,121.6 + ,83.2 + ,126.4 + ,287.1 + ,128.4 + ,84.9 + ,169.3 + ,295.6 + ,144.5 + ,83 + ,175 + ,273.8 + ,151.8 + ,79.6 + ,133.9 + ,257.9 + ,167.1 + ,83.2 + ,110.1 + ,245.6 + ,173.8 + ,83.8 + ,104.3 + ,278.5 + ,203.7 + ,82.8 + ,108.7 + ,241.5 + ,199.8 + ,71.4 + ,112.6 + ,215.5) + ,dim=c(4 + ,61) + ,dimnames=list(c('prijs' + ,'prod' + ,'omzet' + ,'invoer') + ,1:61)) > y <- array(NA,dim=c(4,61),dimnames=list(c('prijs','prod','omzet','invoer'),1:61)) > for (i in 1:dim(x)[1]) + { + for (j in 1:dim(x)[2]) + { + y[i,j] <- as.numeric(x[i,j]) + } + } > par1 = 'grey' > ylab = 'value' > xlab = 'variables' > main = 'Notched Boxplots' > #'GNU S' R Code compiled by R2WASP v. 1.0.44 () > #Author: Prof. Dr. P. Wessa > #To cite this work: AUTHOR(S), (YEAR), YOUR SOFTWARE TITLE (vNUMBER) in Free Statistics Software (v$_version), Office for Research Development and Education, URL http://www.wessa.net/rwasp_YOURPAGE.wasp/ > #Source of accompanying publication: Office for Research, Development, and Education > #Technical description: Write here your technical program description (don't use hard returns!) > z <- as.data.frame(t(y)) > postscript(file="/var/www/html/rcomp/tmp/1kg1o1258143511.ps",horizontal=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] [,2] [,3] [,4] [1,] 121.6 71.4 96.2 88.7 [2,] 148.1 87.8 119.8 132.7 [3,] 203.7 95.8 135.5 166.0 [4,] 266.9 106.8 169.1 233.4 [5,] 304.5 124.2 227.1 301.3 $n [1] 61 61 61 61 $conf [,1] [,2] [,3] [,4] [1,] 179.6670 91.95633 125.5267 145.6286 [2,] 227.7330 99.64367 145.4733 186.3714 $out numeric(0) $group numeric(0) $names [1] "prijs" "prod" "omzet" "invoer" > dev.off() null device 1 > > #Note: the /var/www/html/rcomp/createtable file can be downloaded at http://www.wessa.net/cretab > load(file="/var/www/html/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/www/html/rcomp/tmp/2vnl31258143511.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/www/html/rcomp/tmp/3pxmc1258143511.tab") > > system("convert tmp/1kg1o1258143511.ps tmp/1kg1o1258143511.png") > > > proc.time() user system elapsed 0.401 0.160 0.455