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. > y <- c(100 + ,99.94940551 + ,102.0743739 + ,102.0237794 + ,102.6309132 + ,102.8838857 + ,103.0103719 + ,104.3258285 + ,105.211232 + ,104.7305844 + ,104.174045 + ,103.6933974 + ,104.3258285 + ,105.211232 + ,105.3124209 + ,105.5400961 + ,106.7037693 + ,106.6025803 + ,105.008854 + ,104.3258285 + ,104.174045 + ,103.4151278 + ,102.3273463 + ,101.8214015 + ,103.5669112 + ,103.8957754 + ,104.5788009 + ,105.0341513 + ,105.6665823 + ,105.6918796 + ,105.7171768 + ,105.843663 + ,105.7930686 + ,105.3883127 + ,105.9701493 + ,106.5013913 + ,107.1338224 + ,109.3599798 + ,109.3599798 + ,108.4239818 + ,107.9433342 + ,108.0951176 + ,108.3986845 + ,110.5489502 + ,111.8138123 + ,112.5474323 + ,111.6620288 + ,111.3837592 + ,113.1039717 + ,115.1783456 + ,121.0726031 + ,123.0710853 + ,123.3999494 + ,122.9193018 + ,122.3880597 + ,123.5517329 + ,124.9683784 + ,124.8671895 + ,123.2734632 + ,121.9580066 + ,122.4892487 + ,125.6767012 + ,126.7644827 + ,126.4356185 + ,125.3478371 + ,126.0055654 + ,127.4475082 + ,130.5843663 + ,133.0887933 + ,133.3417657 + ,132.8358209 + ,133.7971161 + ,136.6304073 + ,138.8818619 + ,140.6526689 + ,143.9160132 + ,149.0260562 + ,149.3296231 + ,152.6182646 + ,161.5987857 + ,162.6612699 + ,166.1269922 + ,165.9752087 + ,165.4692639 + ,166.9365039 + ,167.4930433 + ,169.2891475 + ,170.2757399 + ,171.5911966 + ,171.3635214 + ,171.641791 + ,170.0986592 + ,168.302555 + ,168.9602833 + ,170.0227675 + ,167.5942322 + ,172.6030863 + ,175.082216 + ,177.7637238 + ,182.4943081 + ,185.4793827 + ,189.1474829 + ,186.5924614 + ,184.4927903 + ,178.62383 + ,170.5793069 + ,166.7088287 + ,163.3442955) > x <- c(100 + ,108.1560276 + ,114.0150276 + ,102.1880309 + ,110.3672031 + ,96.8602511 + ,94.1944583 + ,99.51621961 + ,94.06333487 + ,97.5541476 + ,78.15062422 + ,81.2434643 + ,92.36262465 + ,96.06324371 + ,114.0523777 + ,110.6616666 + ,104.9171949 + ,90.00187193 + ,95.7008067 + ,86.02741157 + ,84.85287668 + ,100.04328 + ,80.91713823 + ,74.06539709 + ,77.30281369 + ,97.23043249 + ,90.75515676 + ,100.5614455 + ,92.01293267 + ,99.24012138 + ,105.8672755 + ,90.9920463 + ,93.30624423 + ,91.17419413 + ,77.33295039 + ,91.1277721 + ,85.01249943 + ,83.90390242 + ,104.8626302 + ,110.9039108 + ,95.43714373 + ,111.6238727 + ,108.8925403 + ,96.17511682 + ,101.9740205 + ,99.11953031 + ,86.78158147 + ,118.4195003 + ,118.7441447 + ,106.5296192 + ,134.7772694 + ,104.6778714 + ,105.2954304 + ,139.4139849 + ,103.6060491 + ,99.78182974 + ,103.4610301 + ,120.0594945 + ,96.71377168 + ,107.1308929 + ,105.3608372 + ,111.6942359 + ,132.0519998 + ,126.8037879 + ,154.4824253 + ,141.5570984 + ,109.9506882 + ,127.904198 + ,133.0888617 + ,120.0796299 + ,117.5557142 + ,143.0362309 + ,159.982927 + ,128.5991124 + ,149.7373327 + ,126.8169313 + ,140.9639674 + ,137.6691981 + ,117.9402337 + ,122.3095247 + ,127.7804207 + ,136.1677176 + ,116.2405856 + ,123.1576893 + ,116.3400234 + ,108.6119282 + ,125.8982264 + ,112.8003105 + ,107.5182447 + ,135.0955413 + ,115.5096488 + ,115.8640759 + ,104.5883906 + ,163.7213386 + ,113.4482275 + ,98.0428844 + ,116.7868521 + ,126.5330444 + ,113.0336597 + ,124.3392163 + ,109.8298759 + ,124.4434777 + ,111.5039454 + ,102.0350019 + ,116.8726598 + ,112.2073122 + ,101.1513902 + ,124.4255108) > par5 = 'IndSI' > par4 = 'BouwV' > par3 = 'TRUE' > par2 = 'grey' > par1 = 'grey' > ylab = '' > main = 'Back to Back Histogram' > #'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!) > if (par3 == 'TRUE') par3 <- TRUE > if (par3 == 'FALSE') par3 <- FALSE > library(Hmisc) Loading required package: survival Loading required package: splines Attaching package: 'Hmisc' The following object(s) are masked from package:survival : untangle.specials The following object(s) are masked from package:base : format.pval, round.POSIXt, trunc.POSIXt, units > z <- data.frame(cbind(x,y)) > names(z) <- list(par4,par5) > postscript(file="/var/www/html/rcomp/tmp/1fsfy1257849804.ps",horizontal=F,pagecentre=F,paper="special",width=8.3333333333333,height=5.5555555555556) > out <- histbackback(z, probability=par3, main = main, ylab = ylab) > barplot(-out$left, col=par1, horiz=TRUE, space=0, add=TRUE, axes=FALSE) > barplot(out$right, col=par2, horiz=TRUE, space=0, add=TRUE, axes=FALSE) > dev.off() null device 1 > > system("convert tmp/1fsfy1257849804.ps tmp/1fsfy1257849804.png") > > > proc.time() user system elapsed 0.586 0.170 0.831