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.00 + ,100.00 + ,97.56 + ,95.12 + ,92.68 + ,92.68 + ,97.56 + ,107.32 + ,112.20 + ,112.20 + ,112.20 + ,114.63 + ,117.07 + ,117.07 + ,114.63 + ,114.63 + ,114.63 + ,112.20 + ,121.95 + ,131.71 + ,134.15 + ,136.59 + ,136.59 + ,141.46 + ,146.34 + ,148.78 + ,148.78 + ,146.34 + ,146.34 + ,148.78 + ,158.54 + ,173.17 + ,180.49 + ,180.49 + ,182.93 + ,185.37 + ,190.24 + ,190.24 + ,187.80 + ,185.37 + ,182.93 + ,178.05 + ,185.37 + ,195.12 + ,195.12 + ,192.68 + ,190.24 + ,187.80 + ,190.24 + ,187.80 + ,182.93 + ,178.05 + ,173.17 + ,170.73 + ,178.05 + ,190.24 + ,192.68 + ,192.68 + ,190.24 + ,190.24 + ,192.68 + ,190.24 + ,185.37 + ,180.49 + ,175.61 + ,168.29 + ,173.17 + ,182.93 + ,185.37 + ,180.49 + ,178.05 + ,175.61 + ,178.05 + ,175.61 + ,173.17 + ,170.73 + ,168.29 + ,165.85 + ,175.61 + ,185.37 + ,187.80 + ,185.37 + ,182.93 + ,182.93 + ,185.37 + ,185.37 + ,185.37 + ,182.93 + ,178.05 + ,175.61 + ,180.49 + ,195.12 + ,200.00 + ,195.12 + ,187.80 + ,187.80 + ,190.24 + ,190.24 + ,187.80 + ,182.93 + ,178.05 + ,173.17 + ,173.17 + ,175.61 + ,165.85 + ,160.98 + ,156.10 + ,156.10 + ,158.54 + ,153.66 + ,143.90 + ,134.15 + ,126.83 + ,119.51 + ,131.71 + ,141.46 + ,139.02 + ,136.59 + ,134.15 + ,131.71 + ,131.71 + ,131.71 + ,134.15 + ,141.46 + ,139.02 + ,131.71 + ,136.59 + ,141.46 + ,151.22 + ,165.85 + ,163.41 + ,163.41 + ,156.10 + ,153.66 + ,153.66 + ,156.10 + ,153.66 + ,146.34 + ,153.66 + ,153.66 + ,160.98 + ,182.93 + ,190.24 + ,192.68 + ,190.24 + ,185.37 + ,182.93 + ,185.37 + ,182.93 + ,178.05 + ,185.37 + ,182.93 + ,185.37 + ,192.68 + ,192.68 + ,197.56 + ,200.00 + ,195.12 + ,182.93 + ,165.85 + ,158.54 + ,160.98 + ,185.37 + ,195.12 + ,197.56 + ,187.80 + ,182.93 + ,185.37 + ,190.24 + ,190.24 + ,190.24 + ,182.93 + ,182.93 + ,173.17 + ,182.93 + ,182.93 + ,185.37 + ,187.80 + ,187.80 + ,192.68 + ,197.56 + ,200.00 + ,200.00 + ,200.00 + ,192.68 + ,178.05 + ,168.29 + ,160.98 + ,163.41 + ,168.29 + ,170.73 + ,173.17 + ,175.61 + ,173.17 + ,168.29 + ,170.73 + ,165.85 + ,156.10 + ,163.41 + ,160.98 + ,156.10 + ,153.66 + ,151.22 + ,158.54 + ,165.85 + ,165.85 + ,156.10 + ,148.78 + ,141.46 + ,148.78 + ,175.61 + ,178.05 + ,168.29 + ,148.78 + ,141.46 + ,151.22 + ,173.17 + ,187.80 + ,192.68 + ,187.80 + ,180.49 + ,182.93 + ,195.12 + ,197.56) > x <- c(100.00 + ,98.04 + ,95.10 + ,92.16 + ,90.20 + ,89.22 + ,94.12 + ,100.00 + ,100.00 + ,98.04 + ,97.06 + ,97.06 + ,97.06 + ,95.10 + ,93.14 + ,92.16 + ,91.18 + ,91.18 + ,97.06 + ,102.94 + ,103.92 + ,103.92 + ,102.94 + ,103.92 + ,105.88 + ,105.88 + ,104.90 + ,103.92 + ,103.92 + ,105.88 + ,111.76 + ,119.61 + ,121.57 + ,121.57 + ,120.59 + ,121.57 + ,122.55 + ,122.55 + ,121.57 + ,120.59 + ,119.61 + ,118.63 + ,123.53 + ,129.41 + ,131.37 + ,129.41 + ,126.47 + ,125.49 + ,124.51 + ,123.53 + ,121.57 + ,118.63 + ,117.65 + ,116.67 + ,122.55 + ,129.41 + ,131.37 + ,130.39 + ,127.45 + ,126.47 + ,127.45 + ,126.47 + ,123.53 + ,121.57 + ,118.63 + ,116.67 + ,120.59 + ,127.45 + ,127.45 + ,123.53 + ,119.61 + ,118.63 + ,117.65 + ,115.69 + ,113.73 + ,111.76 + ,109.80 + ,109.80 + ,115.69 + ,122.55 + ,123.53 + ,121.57 + ,118.63 + ,117.65 + ,117.65 + ,116.67 + ,115.69 + ,112.75 + ,110.78 + ,109.80 + ,113.73 + ,119.61 + ,119.61 + ,114.71 + ,109.80 + ,107.84 + ,106.86 + ,105.88 + ,102.94 + ,100.00 + ,98.04 + ,97.06 + ,100.98 + ,104.90 + ,101.96 + ,99.02 + ,95.10 + ,92.16 + ,87.25 + ,82.35 + ,79.41 + ,81.37 + ,79.41 + ,78.43 + ,85.29 + ,90.20 + ,88.24 + ,87.25 + ,83.33 + ,79.41 + ,73.53 + ,69.61 + ,67.65 + ,69.61 + ,68.63 + ,65.69 + ,68.63 + ,71.57 + ,75.49 + ,82.35 + ,82.35 + ,86.27 + ,89.22 + ,88.24 + ,84.31 + ,77.45 + ,75.49 + ,76.47 + ,90.20 + ,92.16 + ,90.20 + ,85.29 + ,82.35 + ,84.31 + ,88.24 + ,89.22 + ,85.29 + ,80.39 + ,77.45 + ,77.45 + ,89.22 + ,92.16 + ,92.16 + ,89.22 + ,88.24 + ,91.18 + ,97.06 + ,96.08 + ,91.18 + ,81.37 + ,78.43 + ,83.33 + ,101.96 + ,108.82 + ,106.86 + ,98.04 + ,90.20 + ,90.20 + ,93.14 + ,94.12 + ,93.14 + ,89.22 + ,87.25 + ,88.24 + ,99.02 + ,100.98 + ,100.00 + ,94.12 + ,90.20 + ,91.18 + ,92.16 + ,92.16 + ,90.20 + ,88.24 + ,88.24 + ,88.24 + ,96.08 + ,98.04 + ,96.08 + ,91.18 + ,88.24 + ,88.24 + ,89.22 + ,89.22 + ,89.22 + ,90.20 + ,86.27 + ,81.37 + ,82.35 + ,79.41 + ,75.49 + ,77.45 + ,77.45 + ,78.43 + ,77.45 + ,74.51 + ,69.61 + ,66.67 + ,63.73 + ,67.65 + ,80.39 + ,85.29 + ,81.37 + ,77.45 + ,73.53 + ,76.47 + ,81.37 + ,82.35 + ,80.39 + ,75.49 + ,70.59 + ,71.57 + ,79.41 + ,83.33) > par5 = 'Belg_Werkl_Men' > par4 = 'Belg_Werkl_Women' > par3 = 'TRUE' > par2 = 'blue' > par1 = 'red' > 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/1gyxv1257934564.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/1gyxv1257934564.ps tmp/1gyxv1257934564.png") > > > proc.time() user system elapsed 0.620 0.165 0.705