TABLE OF CONTENTS


/RFitting [ Modules ]

NAME

   RFitting --- model fitting routines in R

FUNCTION

Functions used to sample the MCMC chain from within R, without calling the C main loop. Some of these may make calls to C code occasionally, but the model- fitting on the whole is done in R. This gives the same results as C, but it's easier to debug and understand.

This module is organized into several submodules. MetropolisHastings contains the functions that consitute the main MCMC loop. These rely on likelihood computations in the makeLikelihood module. Updating and evaluating B-splines and curves is handled in the curveUpdate module, which relies on C functions accessible via the CWrappers module. Other utlities related to B-splines are in splineUtils, and miscellaneous utilities are in miscUtils.

CONTENTS

   curveUpdate --- Update B-spline curves
   CWrappers --- Wrappers for functions written in C
   makeLikelihood --- Compute likelihoods of parameters
   MetropolisHastings --- MH and RJMCMC steps
   miscUtils --- miscellaneous
   splineUtils --- Utilities for evaluating splines and related integrals
   ZZdebug --- debugging functions