R version 2.8.1 (2008-12-22) Copyright (C) 2008 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(24710.92 + ,2180995.35 + ,23983.59 + ,2191117.36 + ,24434.12 + ,2219483.98 + ,23939.23 + ,2217992.79 + ,24290.02 + ,2209675.04 + ,24117.63 + ,2204327.56 + ,23724.64 + ,2217758.16 + ,22989.44 + ,2218743.78 + ,23716.86 + ,2231760.73 + ,25058.83 + ,2242745.96 + ,25059 + ,2269344.45 + ,23579.18 + ,2277708.79 + ,24209.03 + ,2281332.03 + ,24173.67 + ,2293500.47 + ,24706.39 + ,2319792.57 + ,24522.12 + ,2320736.3 + ,24766.15 + ,2303874.92 + ,25940.04 + ,2291488.94 + ,24985.78 + ,2299751.72 + ,24788 + ,2313222.41 + ,26544.56 + ,2314078.67 + ,28019.08 + ,2325555.72 + ,27285.71 + ,2353668.83 + ,29161.16 + ,2363959.25 + ,28357.73 + ,2366135.5 + ,27979.91 + ,2388164.24 + ,27543.95 + ,2415043.36 + ,27397.53 + ,2411619.15 + ,27623.59 + ,2400100.64 + ,27736.07 + ,2398536.15 + ,27803.79 + ,2404054.33 + ,27779.55 + ,2421077.9 + ,27524.13 + ,2430396.04 + ,27582.72 + ,2445739.91 + ,28638.95 + ,2484702.11 + ,28825.78 + ,2499887.85 + ,30132.61 + ,2506371.6 + ,29326.85 + ,2526847.52 + ,29075.62 + ,2551947.88 + ,28230.63 + ,2549403.15 + ,28118.36 + ,2533567.74 + ,28173.29 + ,2529577.21 + ,27396.91 + ,2541049.08 + ,24578.55 + ,2547421.64 + ,24504.77 + ,2555613.49 + ,27582.37 + ,2566290.53 + ,26920.31 + ,2580919.67 + ,25426.68 + ,2587978.57 + ,25390.8 + ,2580098.72 + ,25041.16 + ,2579086.96 + ,22769.42 + ,2592127.5 + ,22921.89 + ,2586944.73 + ,26267.63 + ,2548600.43 + ,27364.67 + ,2516994.05 + ,28382.59 + ,2500125.23 + ,29132.81 + ,2493360.56 + ,28214.51 + ,2475571.42 + ,28865.73 + ,2460157.93 + ,24405.35 + ,2467502.24) + ,dim=c(2 + ,59) + ,dimnames=list(c('Leningsbedrag' + ,'Schulden') + ,1:59)) > y <- array(NA,dim=c(2,59),dimnames=list(c('Leningsbedrag','Schulden'),1:59)) > 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/rcomp/tmp/1q6qs1257491780.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] [1,] 22769.42 2180995 [2,] 24513.44 2296626 [3,] 26544.56 2411619 [4,] 27999.50 2528212 [5,] 30132.61 2592128 $n [1] 59 59 $conf [,1] [,2] [1,] 25827.48 2363982 [2,] 27261.64 2459256 $out numeric(0) $group numeric(0) $names [1] "Leningsbedrag" "Schulden" > dev.off() null device 1 > > #Note: the /var/www/rcomp/createtable file can be downloaded at http://www.wessa.net/cretab > load(file="/var/www/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/rcomp/tmp/27q0l1257491780.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/rcomp/tmp/3ws8l1257491780.tab") > > system("convert tmp/1q6qs1257491780.ps tmp/1q6qs1257491780.png") > > > proc.time() user system elapsed 0.380 0.290 0.543