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(210907 + ,396 + ,120982 + ,297 + ,176508 + ,559 + ,179321 + ,967 + ,123185 + ,270 + ,52746 + ,143 + ,385534 + ,1562 + ,33170 + ,109 + ,101645 + ,371 + ,149061 + ,656 + ,165446 + ,511 + ,237213 + ,655 + ,173326 + ,465 + ,133131 + ,525 + ,258873 + ,885 + ,180083 + ,497 + ,324799 + ,1436 + ,230964 + ,612 + ,236785 + ,865 + ,135473 + ,385 + ,202925 + ,567 + ,215147 + ,639 + ,344297 + ,963 + ,153935 + ,398 + ,132943 + ,410 + ,174724 + ,966 + ,174415 + ,801 + ,225548 + ,892 + ,223632 + ,513 + ,124817 + ,469 + ,221698 + ,683 + ,210767 + ,643 + ,170266 + ,535 + ,260561 + ,625 + ,84853 + ,264 + ,294424 + ,992 + ,101011 + ,238 + ,215641 + ,818 + ,325107 + ,937 + ,7176 + ,70 + ,167542 + ,507 + ,106408 + ,260 + ,96560 + ,503 + ,265769 + ,927 + ,269651 + ,1269 + ,149112 + ,537 + ,175824 + ,910 + ,152871 + ,532 + ,111665 + ,345 + ,116408 + ,918 + ,362301 + ,1635 + ,78800 + ,330 + ,183167 + ,557 + ,277965 + ,1178 + ,150629 + ,740 + ,168809 + ,452 + ,24188 + ,218 + ,329267 + ,764 + ,65029 + ,255 + ,101097 + ,454 + ,218946 + ,866 + ,244052 + ,574 + ,341570 + ,1276 + ,103597 + ,379 + ,233328 + ,825 + ,256462 + ,798 + ,206161 + ,663 + ,311473 + ,1069 + ,235800 + ,921 + ,177939 + ,858 + ,207176 + ,711 + ,196553 + ,503 + ,174184 + ,382 + ,143246 + ,464 + ,187559 + ,717 + ,187681 + ,690 + ,119016 + ,462 + ,182192 + ,657 + ,73566 + ,385 + ,194979 + ,577 + ,167488 + ,619 + ,143756 + ,479 + ,275541 + ,817 + ,243199 + ,752 + ,182999 + ,430 + ,135649 + ,451 + ,152299 + ,537 + ,120221 + ,519 + ,346485 + ,1000 + ,145790 + ,637 + ,193339 + ,465 + ,80953 + ,437 + ,122774 + ,711 + ,130585 + ,299 + ,112611 + ,248 + ,286468 + ,1162 + ,241066 + ,714 + ,148446 + ,905 + ,204713 + ,649 + ,182079 + ,512 + ,140344 + ,472 + ,220516 + ,905 + ,243060 + ,786 + ,162765 + ,489 + ,182613 + ,479 + ,232138 + ,617 + ,265318 + ,925 + ,85574 + ,351 + ,310839 + ,1144 + ,225060 + ,669 + ,232317 + ,707 + ,144966 + ,458 + ,43287 + ,214 + ,155754 + ,599 + ,164709 + ,572 + ,201940 + ,897 + ,235454 + ,819 + ,220801 + ,720 + ,99466 + ,273 + ,92661 + ,508 + ,133328 + ,506 + ,61361 + ,451 + ,125930 + ,699 + ,100750 + ,407 + ,224549 + ,465 + ,82316 + ,245 + ,102010 + ,370 + ,101523 + ,316 + ,243511 + ,603 + ,22938 + ,154 + ,41566 + ,229 + ,152474 + ,577 + ,61857 + ,192 + ,99923 + ,617 + ,132487 + ,411 + ,317394 + ,975 + ,21054 + ,146 + ,209641 + ,705 + ,22648 + ,184 + ,31414 + ,200 + ,46698 + ,274 + ,131698 + ,502 + ,91735 + ,382 + ,244749 + ,964 + ,184510 + ,537 + ,79863 + ,438 + ,128423 + ,369 + ,97839 + ,417 + ,38214 + ,276 + ,151101 + ,514 + ,272458 + ,822 + ,172494 + ,389 + ,108043 + ,466 + ,328107 + ,1255 + ,250579 + ,694 + ,351067 + ,1024 + ,158015 + ,400 + ,98866 + ,397 + ,85439 + ,350 + ,229242 + ,719 + ,351619 + ,1277 + ,84207 + ,356 + ,120445 + ,457 + ,324598 + ,1402 + ,131069 + ,600 + ,204271 + ,480 + ,165543 + ,595 + ,141722 + ,436 + ,116048 + ,230 + ,250047 + ,651 + ,299775 + ,1367 + ,195838 + ,564 + ,173260 + ,716 + ,254488 + ,747 + ,104389 + ,467 + ,136084 + ,671 + ,199476 + ,861 + ,92499 + ,319 + ,224330 + ,612 + ,135781 + ,433 + ,74408 + ,434 + ,81240 + ,503 + ,14688 + ,85 + ,181633 + ,564 + ,271856 + ,824 + ,7199 + ,74 + ,46660 + ,259 + ,17547 + ,69 + ,133368 + ,535 + ,95227 + ,239 + ,152601 + ,438 + ,98146 + ,459 + ,79619 + ,426 + ,59194 + ,288 + ,139942 + ,498 + ,118612 + ,454 + ,72880 + ,376 + ,65475 + ,225 + ,99643 + ,555 + ,71965 + ,252 + ,77272 + ,208 + ,49289 + ,130 + ,135131 + ,481 + ,108446 + ,389 + ,89746 + ,565 + ,44296 + ,173 + ,77648 + ,278 + ,181528 + ,609 + ,134019 + ,422 + ,124064 + ,445 + ,92630 + ,387 + ,121848 + ,339 + ,52915 + ,181 + ,81872 + ,245 + ,58981 + ,384 + ,53515 + ,212 + ,60812 + ,399 + ,56375 + ,229 + ,65490 + ,224 + ,80949 + ,203 + ,76302 + ,333 + ,104011 + ,384 + ,98104 + ,636 + ,67989 + ,185 + ,30989 + ,93 + ,135458 + ,581 + ,73504 + ,248 + ,63123 + ,304 + ,61254 + ,344 + ,74914 + ,407 + ,31774 + ,170 + ,81437 + ,312 + ,87186 + ,507 + ,50090 + ,224 + ,65745 + ,340 + ,56653 + ,168 + ,158399 + ,443 + ,46455 + ,204 + ,73624 + ,367 + ,38395 + ,210 + ,91899 + ,335 + ,139526 + ,364 + ,52164 + ,178 + ,51567 + ,206 + ,70551 + ,279 + ,84856 + ,387 + ,102538 + ,490 + ,86678 + ,238 + ,85709 + ,343 + ,34662 + ,232 + ,150580 + ,530 + ,99611 + ,291 + ,19349 + ,67 + ,99373 + ,397 + ,86230 + ,467 + ,30837 + ,178 + ,31706 + ,175 + ,89806 + ,299 + ,62088 + ,154 + ,40151 + ,106 + ,27634 + ,189 + ,76990 + ,194 + ,37460 + ,135 + ,54157 + ,201 + ,49862 + ,207 + ,84337 + ,280 + ,64175 + ,260 + ,59382 + ,227 + ,119308 + ,239 + ,76702 + ,333 + ,103425 + ,428 + ,70344 + ,230 + ,43410 + ,292 + ,104838 + ,350 + ,62215 + ,186 + ,69304 + ,326 + ,53117 + ,155 + ,19764 + ,75 + ,86680 + ,361 + ,84105 + ,261 + ,77945 + ,299 + ,89113 + ,300 + ,91005 + ,450 + ,40248 + ,183 + ,64187 + ,238 + ,50857 + ,165 + ,56613 + ,234 + ,62792 + ,176 + ,72535 + ,329) + ,dim=c(2 + ,289) + ,dimnames=list(c('time_in_rfc' + ,'compendium_views_info') + ,1:289)) > y <- array(NA,dim=c(2,289),dimnames=list(c('time_in_rfc','compendium_views_info'),1:289)) > 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/wessaorg/rcomp/tmp/1y2cn1355329320.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,] 7176 67 [2,] 74914 276 [3,] 120982 450 [4,] 187559 637 [5,] 351619 1178 $n [1] 289 289 $conf [,1] [,2] [1,] 110512.6 416.4482 [2,] 131451.4 483.5518 $out [1] 385534 362301 1562 1436 1269 1635 1276 1255 1277 1402 [11] 1367 $group [1] 1 1 2 2 2 2 2 2 2 2 2 $names [1] "time_in_rfc" "compendium_views_info" > 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/26wce1355329320.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/3wysn1355329320.tab") > > try(system("convert tmp/1y2cn1355329320.ps tmp/1y2cn1355329320.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 1.952 0.329 2.216