R version 2.8.0 (2008-10-20) Copyright (C) 2008 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,84.48959366,96.92765114,98.26560951,107.5569871,103.64222,93.45887017,105.2527255,126.1397423,112.4132805,107.9286422,100.7928642,106.1199207,103.666997,142.888999,120.6144698,104.8067393,121.7294351,121.1100099,129.4846383,103.691774,116.7740337,105.2031715,122.8444004,121.283449,114.147671,127.4281467,124.6778989,139.147671,154.5094153,124.6531219,167.1456888,121.6551041,130.4013875,124.2814668,131.0951437,134.2666006,166.3032706,166.8483647,151.2140733,154.8562934,139.444995,140.8572844,171.308226,133.3994054,131.8384539,147.4231913,158.8453915,159.0436075,163.2309217,187.9335976,195.4410307,234.4152626,161.1992071,162.7106046,192.2943508,151.6352825,134.8116947,112.9088206,105.0297324,122.0267592) > x <- c(100,85.95702149,68.015992,91.25437281,104.2978511,71.11444278,94.35282359,71.91404298,74.8125937,98.4007996,115.6921539,109.5452274,110.2948526,122.0389805,91.2043978,114.8425787,118.9905047,103.1984008,124.5877061,90.85457271,108.9455272,123.1384308,107.0964518,121.0894553,110.2948526,102.1989005,90.30484758,116.4417791,118.1909045,119.6401799,104.2978511,104.4477761,123.5382309,142.0789605,122.8385807,124.4877561,125.6371814,125.5372314,103.5482259,114.0929535,127.0864568,108.8955522,122.1389305,116.5417291,106.2468766,119.6901549,167.6661669,124.3378311,132.2338831,137.6311844,90.30484758,127.986007,123.6381809,113.8430785,123.988006,76.8115942,112.6936532,137.1314343,200.049975,150.8245877,172.5137431) > par5 = 'Invchin' > par4 = 'Uitvchin' > 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) Attaching package: 'Hmisc' 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/freestat/rcomp/tmp/1yg1b1257945862.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/1yg1b1257945862.ps tmp/1yg1b1257945862.png") > > > proc.time() user system elapsed 0.998 0.217 1.063