R version 2.15.2 (2012-10-26) -- "Trick or Treat" Copyright (C) 2012 The R Foundation for Statistical Computing ISBN 3-900051-07-0 Platform: i686-pc-linux-gnu (32-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(50.4687229 + ,71.2850137 + ,80.82533683 + ,51.54016794 + ,46.11492629 + ,46.14902441 + ,59.11183295 + ,67.20296273 + ,72.57189979 + ,70.25647751 + ,59.18400135 + ,79.00062105 + ,71.06095624 + ,49.02089035 + ,65.38152563 + ,61.75876724 + ,59.06958692 + ,66.04816594 + ,66.20129867 + ,77.10834911 + ,64.6858986 + ,50.66480202 + ,72.99797532 + ,62.03758421 + ,60.71624982 + ,42.99810275 + ,68.0568725 + ,60.90026677 + ,42.09837031 + ,63.90814764 + ,56.82115686 + ,89.60429472 + ,47.58671609 + ,48.16319137 + ,51.96638782 + ,102.2152118 + ,71.44862836 + ,72.29179022 + ,70.18029252 + ,78.68118377 + ,72.87608029 + ,74.67784957 + ,67.17250259 + ,54.89432755 + ,67.32770786 + ,56.27814648 + ,58.66613507 + ,75.20973344 + ,58.14931471 + ,99.61523933 + ,63.95264124 + ,69.50133542 + ,55.63866595 + ,89.71261554 + ,49.66304702 + ,76.22043217 + ,70.27449343 + ,60.33511244 + ,63.95677944 + ,76.59757688 + ,76.92992555 + ,90.83361323 + ,50.09332896 + ,93.59054179 + ,74.06788215 + ,68.44063723 + ,72.53151822 + ,96.65537977 + ,61.36475364 + ,63.0184913 + ,54.81988198 + ,45.37877334 + ,76.63588591 + ,78.07757488 + ,62.71780891 + ,92.60685505 + ,59.3726874 + ,26.17181412 + ,74.96728146 + ,42.27109816 + ,51.1909299 + ,59.48912889 + ,62.24285941 + ,57.68145701 + ,51.90497419 + ,71.86890929 + ,57.82769464 + ,60.85057425 + ,60.81138296 + ,97.62822078 + ,64.81263669 + ,67.7813161 + ,46.29716629 + ,66.14905164 + ,64.36722303 + ,77.19835498 + ,82.22550393 + ,96.96717729 + ,44.18275027 + ,65.55050749 + ,62.13708518 + ,85.41174015 + ,70.71637143 + ,61.81741259 + ,67.0072474 + ,91.21355465 + ,60.61504579 + ,58.00810772 + ,58.48374728 + ,51.80162493 + ,65.47104264 + ,77.29376666 + ,57.33533969 + ,86.04604449 + ,67.10439281 + ,30.66235326 + ,50.60519258 + ,47.4785465 + ,60.46795776 + ,67.2134674 + ,72.09243692 + ,44.63874024 + ,63.17402282 + ,73.0812771 + ,52.75707978 + ,84.32222234 + ,57.13026 + ,89.59617748 + ,48.45360096 + ,71.88971399 + ,57.51405539 + ,70.7203198 + ,56.96485702 + ,86.11128937 + ,64.44140369 + ,77.94128709 + ,63.21266498 + ,61.46492655 + ,53.39395345 + ,74.12674694 + ,59.42939439 + ,77.4673153 + ,52.74016318 + ,98.36136446 + ,75.54781193 + ,104.4100044 + ,63.56022838 + ,71.57435238 + ,56.23114491 + ,35.34634192 + ,59.68363227 + ,87.06073363 + ,63.16115347 + ,43.63452167 + ,83.27105904 + ,51.72229425 + ,71.85585461 + ,56.27289415 + ,67.79816673 + ,73.9447059 + ,52.05899712 + ,69.75157152 + ,58.53171175 + ,77.76625484 + ,75.44358383 + ,89.20423074 + ,50.09583007 + ,44.30668373 + ,46.05449036 + ,61.18825826 + ,71.43243935 + ,63.35310576 + ,57.17168748 + ,54.49262648 + ,37.94311639 + ,71.78335426 + ,62.46701575 + ,92.01047664 + ,44.37488102 + ,50.45484517 + ,67.3127012 + ,48.63249064 + ,64.26477982 + ,91.76095677 + ,59.76398612 + ,81.45305077 + ,51.54076704 + ,57.53942236 + ,68.66564278 + ,97.27310857 + ,58.09325573 + ,53.64761495 + ,69.39005531 + ,34.59246177 + ,63.04396508 + ,67.30681566 + ,58.98579972 + ,98.95931175 + ,48.70616764 + ,78.66624532 + ,59.93229949 + ,69.31989123 + ,74.1465307 + ,61.78010057 + ,62.18641389 + ,80.99156179 + ,65.70894372 + ,69.82844656 + ,63.64593689 + ,78.80628477 + ,56.21225015 + ,77.45693001 + ,77.00091161 + ,79.22002528 + ,70.11756012 + ,73.95659185 + ,72.3081918 + ,109.7070835 + ,65.06672677 + ,62.25473744 + ,65.57707835 + ,87.41379947 + ,47.85015123 + ,63.83205704 + ,70.24473022 + ,87.42508857 + ,58.38229314 + ,71.08358336 + ,79.52794264 + ,55.13999344 + ,72.24157131 + ,88.15294581 + ,65.7116381 + ,57.10480895 + ,60.64035248 + ,60.0609339 + ,65.81821951 + ,62.36466124 + ,54.76731318 + ,67.5432047 + ,59.41330771 + ,82.01402711 + ,59.22928282 + ,58.20452447 + ,62.45281626 + ,84.14047119 + ,57.18284016 + ,79.73560645 + ,60.30947831 + ,97.10107765 + ,45.11430022 + ,60.25446868 + ,70.24473022 + ,66.38458803 + ,88.43953553 + ,75.7358875 + ,47.27662387 + ,47.55617187 + ,61.80945108 + ,59.68912678 + ,78.78115654 + ,59.87868821 + ,57.17886112 + ,73.58234615 + ,64.57773695 + ,47.09205672 + ,60.65950871 + ,92.58543645 + ,54.70405783 + ,75.20606704 + ,49.32157723 + ,75.85212092 + ,53.39204351 + ,72.00775503 + ,47.40954652 + ,72.19895355 + ,49.20588951 + ,59.43183073 + ,56.45851858 + ,52.70939159 + ,76.55103006 + ,51.70783329 + ,51.25839167 + ,67.77551807 + ,63.56267265 + ,68.56173076 + ,65.58511601 + ,58.86232788 + ,80.29364623 + ,64.7414949 + ,38.56139089 + ,65.60683364 + ,37.31792973 + ,64.51269446 + ,55.7360501 + ,88.86542123 + ,42.23347575 + ,78.01267106 + ,62.58232831 + ,53.75528776 + ,55.28505441 + ,64.98364787 + ,50.05201516 + ,58.5592274 + ,60.16179911 + ,47.45017026 + ,69.16070348 + ,78.86088856 + ,58.13919658 + ,69.53003567 + ,63.74175215 + ,74.14224814 + ,55.76535856 + ,75.67052325 + ,55.62771791 + ,87.26608616 + ,55.08490873 + ,35.41209839 + ,59.70582394 + ,50.75920757 + ,44.22799763 + ,103.6577614 + ,51.16271283 + ,67.42451564 + ,56.72202193 + ,72.07840571 + ,55.31069079 + ,101.0205451 + ,68.60566161 + ,63.28213107 + ,57.29726596 + ,88.4256578 + ,72.20605554 + ,69.10961037 + ,75.10943548 + ,53.86623474 + ,67.24887741 + ,74.98845338 + ,50.66803866 + ,95.9200533 + ,55.12801878 + ,64.30359026 + ,45.47073119 + ,59.81375029 + ,76.89477358 + ,56.92285317 + ,54.25049282 + ,64.56419459 + ,60.30336196 + ,77.32089802 + ,54.4675551 + ,60.32240794 + ,66.14852524 + ,58.86232788 + ,44.90011421 + ,77.01605813 + ,63.87748287 + ,69.83992325 + ,75.95508365 + ,62.07586825 + ,76.89477358 + ,64.91806193 + ,63.32159971 + ,71.68170118 + ,70.49220373 + ,90.59248345 + ,69.96933522 + ,67.75346851 + ,51.29531716 + ,67.1328748 + ,70.21116987 + ,87.81860419 + ,54.80675115 + ,70.40797659 + ,61.18196795 + ,66.97728299 + ,71.59271505 + ,66.08261305 + ,59.77239895 + ,73.41490249 + ,75.34849616 + ,67.22980419 + ,75.00725375 + ,83.12080258 + ,69.59289537 + ,47.18373379 + ,54.91760718 + ,64.37874294 + ,57.6282993 + ,43.10185336 + ,76.15489964 + ,77.18418391 + ,44.17738425 + ,50.99457343 + ,53.37205736 + ,91.39288426 + ,57.88874447 + ,60.07094402 + ,50.36945155 + ,63.02616516) + ,dim=c(2 + ,200) + ,dimnames=list(c('Groep_1' + ,'Groep_2') + ,1:200)) > y <- array(NA,dim=c(2,200),dimnames=list(c('Groep_1','Groep_2'),1:200)) > 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' > par1 <- 'grey' > #'GNU S' R Code compiled by R2WASP v. 1.2.291 () > #Author: root > #To cite this work: Wessa P., (2012), Notched Boxplots (v1.0.6) in Free Statistics Software (v$_version), Office for Research Development and Education, URL http://www.wessa.net/rwasp_notchedbox1.wasp/ > #Source of accompanying publication: Office for Research, Development, and Education > # > z <- as.data.frame(t(y)) > postscript(file="/var/fisher/rcomp/tmp/1j4td1355324888.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] [,2] [1,] 37.31793 34.59246 [2,] 54.86874 59.75144 [3,] 60.62770 68.83567 [4,] 68.33127 78.67371 [5,] 88.43954 104.41000 $n [1] 200 200 $conf [,1] [,2] [1,] 59.12363 66.72162 [2,] 62.13177 70.94972 $out [1] 26.17181 30.66235 109.70708 $group [1] 2 2 2 $names [1] "Groep_1" "Groep_2" > dev.off() null device 1 > > #Note: the /var/fisher/rcomp/createtable file can be downloaded at http://www.wessa.net/cretab > load(file="/var/fisher/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/fisher/rcomp/tmp/202nv1355324888.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/fisher/rcomp/tmp/328gu1355324888.tab") > > try(system("convert tmp/1j4td1355324888.ps tmp/1j4td1355324888.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 1.091 0.273 1.338