R version 2.7.2 (2008-08-25) 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(501852,500983,492092,471353,503961,519240,427730,426894,458031,512057,604919,589011,526981,450468,472746,395490,476078,545870,415570,380319,383600,505737,495066,472665,480579,536266,561722,475908,523232,507509,399927,466682,421751,442511,546678,499944,495574,524944,568106,484506,512235,523179,462411,685872,635902,573599,668826,520868,555680,727941,516959,489975,559687,630947,473994,583802,553061,604700,708101,617053,819858,736520,567696,666627,701749,647394,610231,777555,901319,707164,782859,652556,676064,707665,561515,645794,623482,673401,544890,605125,607570,578585,647408,574998,507468,695738,562270,585810,516493,691302,549560,496171,561565,671145,578514,623296,587012) > x <- c(310301,308956,306337,300552,309661,315575,265784,260722,278629,311448,363932,362673,320253,273036,291047,239167,285034,331389,228493,205450,207203,287602,265812,262920,268006,292400,315810,269544,301433,280678,221915,263552,244831,245227,302493,280810,277643,292792,318530,276807,284524,290486,259355,383556,350488,318029,377740,293546,317460,401629,282854,275316,304680,349947,266543,329195,314626,338463,399338,339542,454688,396766,309465,365707,383677,352609,340011,425915,498938,391142,418962,342378,369674,391250,310589,335910,344448,361944,290274,327902,329809,324543,350735,320091,278048,381754,301833,318723,266695,381119,295943,266463,311750,359897,312936,339327,312658) > par5 = 'Totale opperlakte' > par4 = 'Totale bewoonbare oppervlakte' > 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) 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/1mysr1224526161.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/1mysr1224526161.ps tmp/1mysr1224526161.png") > > > proc.time() user system elapsed 1.233 0.224 1.301