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,99.30,111.19,106.99,108.39,105.59,104.90,84.62,110.49,118.18,105.59,95.80,103.50,102.80,111.89,107.69,104.90,108.39,105.59,81.82,113.99,116.78,104.90,104.20,102.10,106.99,125.17,114.69,107.69,125.17,111.19,97.20,124.48,125.17,121.68,116.78,111.89,116.08,133.57,124.48,120.28,130.07,113.99,105.59,134.27,123.78,133.57,125.87,122.38,124.48,147.55,120.28,135.66,138.46,123.08,113.29,136.36,139.16,139.86,120.98,100.00,99.30,111.19,106.99,108.39,105.59,104.90,84.62,110.49,118.18,105.59,95.80,103.50,102.80,111.89,107.69,104.90,108.39,105.59,81.82,113.99,116.78,104.90,104.20,102.10,106.99,125.17,114.69,107.69,125.17,111.19,97.20,124.48,125.17,121.68,116.78,111.89,116.08,133.57,124.48,120.28,130.07,113.99,105.59,134.27,123.78,133.57,125.87,122.38,124.48,147.55,120.28,135.66,138.46,123.08,113.29,136.36,139.16,139.86,120.98) > x <- c(100.00,100.28,100.00,98.62,98.35,98.35,104.68,104.13,103.58,104.68,104.41,105.79,107.99,108.54,107.99,109.09,107.99,109.09,115.43,115.98,115.70,115.15,112.95,115.15,117.36,117.91,118.46,116.80,116.53,117.63,121.49,123.69,124.52,127.27,125.34,127.00,127.00,127.55,127.27,125.62,125.34,125.62,130.03,130.03,129.75,128.10,126.45,128.10,128.93,128.65,127.55,126.72,127.27,127.00,131.13,131.13,129.75,124.79,122.04,121.76,100.00,100.28,100.00,98.62,98.35,98.35,104.68,104.13,103.58,104.68,104.41,105.79,107.99,108.54,107.99,109.09,107.99,109.09,115.43,115.98,115.70,115.15,112.95,115.15,117.36,117.91,118.46,116.80,116.53,117.63,121.49,123.69,124.52,127.27,125.34,127.00,127.00,127.55,127.27,125.62,125.34,125.62,130.03,130.03,129.75,128.10,126.45,128.10,128.93,128.65,127.55,126.72,127.27,127.00,131.13,131.13,129.75,124.79,122.04,121.76) > par5 = 'ExpBE' > par4 = 'WK>25jBE' > 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/1esm01257802088.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/1esm01257802088.ps tmp/1esm01257802088.png") > > > proc.time() user system elapsed 0.604 0.178 0.691