# This file contains S-PLUS commands to construct figures in # "Relative Distribution Methods in the Social Sciences" # by Mark S. Handcock and Martina Morris, # Springer-Verlag, 1999, ISBN 0387987789 # We make no claims that the code given # is as efficient as it could be, and we would be interested to learn # of more efficient approaches. # # The commands for each figure should be considered in isolation from # those for any other figure (so, for example, a setting of graphical # parameters using par() does not carry over to the next figure). # # All of the figures in the book were written to Postscript files using # the postscript() driver. Other graphics drivers might yield different # results. # # Other software is available from the Relative Distribution Website: # # http://www.csde.washington.edu/~handcock/RelDist # # A link to the website is maintained by the publisher at: # # http://www.springer-ny.com/stats # # under the heading "Author/Editor Home Pages." # The website contains descriptions of the variables # and data file formats. # # You will need to download the "ALL programs used in the book" # to use this # source("reldist.s") source("reldistaux.s") # # Create data # # You will need to download ALL the Figure files # (9 in all - Ch. 2, 3, 4, 6, 8, 9, 11, 12, and 13) # to use this # data.restore("pppstdres.dmp") data.restore("RDBall.dmp") data.restore("RDBnls.dmp") data.restore("RDBnonwmftfy.dmp") data.restore("RDBsummary.dmp") data.restore("RDBwmftfy.dmp")