Contents of directory wang2

Description

Each file contains a function declaration of the corresponding name. Example: rtruncnorm.ssc contains the declaration of the function rtruncnorm.

Download

Click on a file to view it in your browser. Use "File-Save As" (or similar) to store it to your local disk. Alternatively, click with the right mouse button and select "Save As" (or similar).

Use source("filename.ssc") to read in (and possibly run) the code contained in an S-Plus script (ssc) file.
Use data.restore("filename.sdd") to restore all objects contained in an S-Plus data dump (sdd) file.
Under Windows, you can double-click on ssc files to start S-Plus and open the ssc file in the S-Plus editor.

Create a new chapter for trying out the code provided here.

All of the files below as zip file

EM.GenerateData.ssc
EM.GouldShih.ssc
EM.plot.ssc
gibbs.GouldShih.ssc
gibbs.posterior.sample.ssc
gibbs.singlerun.plot.ssc
rdirichlet.ssc
rgammageneral.ssc
rtruncnorm.ssc


Back to the download page.
Back to the main book page.