'r2z' is a function that computes Fisher's z transformation.
For N >= 25, z is approximately normal with 
E(z) =
.5*log base e((1 + rho)/(1 - rho)) and sigma^2(z) =
1/(N-3) (Neter, Kutner, Nachtsheim, & Wasserman, 1996).

'rd.answerkey' reads the answer key for an exam from a text
file.  It is assumed that the file is delimited by blank spaces.

'rinteger' computes 'nn' random integers with replacement between
a lower bound ('low') and an upper bound ('high').  The probability
mass function is uniform.

'rjags.chains' extracts chains of samples from JAGS output produced with functions in the rjags package.  The output (which is input to 'rjags.chains') can be produced either by a call to 'jags.samples' or a call to 'coda.samples'.  Suppose that 'rjags.out' is created by a call to 'rjags.chains'.  Then 'rjags.out' will be a list of K components. The 1st component of 'rjags.out' is a matrix of chains for the 1st saved parameter; ...; the j-th component is a matrix of chains for the j-th saved parameter. The last component, named 'rjags.out$doc..BUGS', contains information about the chains, e.g., the number of chains were saved for each parameter.  

In the future, this function will be modified to allow the user to select a subset of parameters for which the chains will be extracted.  This extension has not yet been implemented 10/26/2012.

The names of all save parameters are changed to R-legal names, e.g., 'X[2]' is changed to X.2.  

ARGUMENTS:

'samples' - a list created either by a call to 'jags.samples' or a call to 'coda.samples'.  These functions are in the rjags package.  

'model' - a JAGS model object created by a call to the 'jags.model' in the rjags package.

If 'include.doc = FALSE', the 1st component of the 'rjags.out' output is the matrix of chains for the 1st parameter - the documentation component ('rjags.out$doc..BUGS') is omitted.  If 'include.doc = TRUE' (default), the 'rjags.out$doc..BUGS' component is placed in component 1 of the output.

rm.all removes all objects from the current workspace (.GlobalEnv) or from a file on the search path.  It is used to clear the workspace so as to start with a clean slate.

ARGUMENTS

'pos' = position on the search path from which to delete the objects.  It defaults to pos = 1.

'silently = FALSE' (default) gives feedback re the current contents of the file in position = pos.  If 'silently = TRUE', then no feedback is given.

'all.names = TRUE' (default).  Set to TRUE if hidden objects like .First should also be deleted.  Set to FALSE if only visible objects should be deleted.  

'allowNonGlobal = FALSE' (default) means that only .GlobalEnv can have all objects removed from it.  To remove files from other files on the search path, set 'allowNonGlobal' to TRUE and set 'pos' to the location of the file on the search path.