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(227.86 + ,198.24 + ,194.97 + ,184.88 + ,196.79 + ,205.36 + ,226.72 + ,226.05 + ,202.50 + ,194.79 + ,192.43 + ,219.25 + ,217.47 + ,192.34 + ,196.83 + ,186.07 + ,197.31 + ,215.02 + ,242.67 + ,225.17 + ,206.69 + ,197.75 + ,196.43 + ,213.55 + ,222.75 + ,194.03 + ,201.85 + ,189.50 + ,206.07 + ,225.59 + ,247.91 + ,247.64 + ,213.01 + ,203.01 + ,200.26 + ,220.50 + ,237.90 + ,216.94 + ,214.01 + ,196.00 + ,208.37 + ,232.75 + ,257.46 + ,267.69 + ,220.18 + ,210.61 + ,209.59 + ,232.75 + ,232.75 + ,219.82 + ,226.74 + ,208.04 + ,220.12 + ,235.69 + ,257.05 + ,258.69 + ,227.15 + ,219.91 + ,219.30 + ,259.04 + ,237.29 + ,212.88 + ,226.03 + ,211.07 + ,222.91 + ,249.18 + ,266.38 + ,268.53 + ,238.02 + ,224.69 + ,213.75 + ,237.43 + ,248.46 + ,210.82 + ,221.40 + ,209.00 + ,234.37 + ,248.43 + ,271.98 + ,268.11 + ,233.88 + ,223.43 + ,221.38 + ,233.76 + ,243.97 + ,217.76 + ,224.66 + ,210.84 + ,220.35 + ,236.84 + ,266.15 + ,255.20 + ,234.76 + ,221.29 + ,221.26 + ,244.13 + ,245.78 + ,224.62 + ,234.80 + ,211.37 + ,222.39 + ,249.63 + ,282.29 + ,279.13 + ,236.60 + ,223.62 + ,225.86 + ,246.41 + ,261.70 + ,225.01 + ,231.54 + ,214.82 + ,227.70 + ,263.86 + ,278.15 + ,274.64 + ,237.66 + ,227.97 + ,224.75 + ,242.91 + ,253.08 + ,228.13 + ,233.68 + ,217.38 + ,236.38 + ,256.08 + ,292.83 + ,304.71 + ,245.57 + ,234.41 + ,234.12 + ,258.17 + ,268.66 + ,245.31 + ,247.47 + ,226.25 + ,251.67 + ,268.79 + ,288.94 + ,290.16 + ,250.69 + ,240.80) + ,dim=c(1 + ,142) + ,dimnames=list(c('') + ,1:142)) > y <- array(NA,dim=c(1,142),dimnames=list(c(''),1:142)) > 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 = 'opgewekte elektriciteit' > xlab = 'aantal waarnemingen' > main = 'The total generation of electricity' > #'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/14h0y1267537858.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] [1,] 184.88 [2,] 214.01 [3,] 226.73 [4,] 246.41 [5,] 292.83 $n [1] 142 $conf [,1] [1,] 222.4341 [2,] 231.0259 $out [1] 304.71 $group [1] 1 $names [1] "V1" > 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/25onq1267537858.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/3rn1f1267537858.tab") > > try(system("convert tmp/14h0y1267537858.ps tmp/14h0y1267537858.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 0.366 0.148 0.456