init.c File Reference

#include "lmer.h"
#include <R_ext/Rdynload.h>
#include "Matrix.h"
#include "Syms.h"

Include dependency graph for init.c:

Go to the source code of this file.

Functions

void R_init_lme4 (DllInfo *dll)
 Initializer for lme4, called upon loading the package.
void R_unload_lme4 (DllInfo *dll)
 Finalizer for lme4 called upon unloading the package.

Variables

cholmod_common c
 cholmod_common struct initialized in R_init_lme4
static R_CallMethodDef CallEntries []


Function Documentation

void R_init_lme4 ( DllInfo *  dll  ) 

Initializer for lme4, called upon loading the package.

Register routines that can be called directly from R. Initialize CHOLMOD and require the LL' form of the factorization. Install the symbols to be used by functions in the package.

Definition at line 48 of file init.c.

References CallEntries, lme4_ASym, lme4_CmSym, lme4_CxSym, lme4_devianceSym, lme4_dimsSym, lme4_DimSym, lme4_envSym, lme4_etaSym, lme4_fixefSym, lme4_flistSym, lme4_GpSym, lme4_gradientSym, lme4_iSym, lme4_LSym, lme4_muEtaSym, lme4_muSym, lme4_ncSym, lme4_nlmodelSym, lme4_offsetSym, lme4_permSym, lme4_pSym, lme4_pWtSym, lme4_ranefSym, lme4_residSym, lme4_RXSym, lme4_RZXSym, lme4_sigmaSym, lme4_sqrtrWtSym, lme4_sqrtXWtSym, lme4_STSym, lme4_uSym, lme4_varSym, lme4_VSym, lme4_xSym, lme4_XSym, lme4_ySym, and lme4_ZtSym.

void R_unload_lme4 ( DllInfo *  dll  ) 

Finalizer for lme4 called upon unloading the package.

Definition at line 99 of file init.c.


Variable Documentation

cholmod_common c

cholmod_common struct initialized in R_init_lme4

Definition at line 37 of file init.c.

Referenced by lmm_update_fixef_u(), lmm_update_projection(), MCMC_beta_u(), mer_create_L(), mer_postVar(), spR_optimize(), spR_update_mu(), update_L(), update_mu(), and update_u().

R_CallMethodDef CallEntries[] [static]

Initial value:

 {


    {"mer_MCMCsamp", (DL_FUNC) &mer_MCMCsamp, 2},
    {"mer_ST_chol", (DL_FUNC) &mer_ST_chol, 1},
    {"mer_ST_getPars", (DL_FUNC) &mer_ST_getPars, 1},
    {"mer_ST_initialize", (DL_FUNC) &mer_ST_initialize, 3},
    {"mer_ST_setPars", (DL_FUNC) &mer_ST_setPars, 2},
    {"mer_create_L", (DL_FUNC) &mer_create_L, 1},
    {"mer_optimize", (DL_FUNC) &mer_optimize, 2},
    {"mer_postVar", (DL_FUNC) &mer_postVar, 1},
    {"mer_update_L", (DL_FUNC) &mer_update_L, 1},
    {"mer_update_RX", (DL_FUNC) &mer_update_RX, 1},
    {"mer_update_dev", (DL_FUNC) &mer_update_dev, 1},
    {"mer_update_projection", (DL_FUNC) &mer_update_projection, 1},
    {"mer_update_ranef", (DL_FUNC) &mer_update_ranef, 1},
    {"mer_update_mu", (DL_FUNC) &mer_update_mu, 1},
    {"mer_update_u", (DL_FUNC) &mer_update_u, 2},
    {"mer_validate", (DL_FUNC) &mer_validate, 1},

    {"merMCMC_validate", (DL_FUNC) &merMCMC_validate, 1},
    {"merMCMC_VarCorr", (DL_FUNC) &merMCMC_VarCorr, 2},

    {"spR_optimize", (DL_FUNC) &spR_optimize, 2},
    {"spR_update_mu", (DL_FUNC) &spR_update_mu, 1},


    {NULL, NULL, 0}
}

Definition at line 6 of file init.c.

Referenced by R_init_lme4().


Generated on Wed Jul 9 15:07:49 2008 for lme4 by  doxygen 1.4.7