Log-Likelihood Functions for 'rxode2'

Provides the log-likelihoods with gradients from 'stan' (Carpenter et al (2015), ) needed for generalized log-likelihood estimation in 'nlmixr2' (Fidler et al (2019) ). This is split of to reduce computational burden of recompiling 'rxode2' (Wang, Hallow and James (2016) ) which runs the 'nlmixr2' models during estimation.


rxode2ll

R-CMD-check Codecov testcoverage CRANversion CRAN totaldownloads CRAN totaldownloads CodeFactor r-universe

The goal of rxode2ll is to create log-likelihood functions for use in ‘rxode2’ and ‘nlmixr2’

Installation

You can install the development version of rxode2ll from GitHub with:

# install.packages("devtools")
devtools::install_github("nlmixr2/rxode2ll")

Examples

Each of the C++ interface to the stan log-likelihood equations can be used in a stand-alone manner. For example:

llikNorm(seq(-2,2,length.out=10), full=TRUE)

The following log-likelihood distributions are supported:

  • llikNorm()
  • llikPois()
  • llikBinom()
  • llikNbinom()
  • llikNbinomMu()
  • llikBeta()
  • llikT()
  • llikChisq()
  • llikExp()
  • llikF()
  • llikGeom()
  • llikUnif()
  • llikWeibull()
  • llikGamma()
  • llikCauchy()

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("rxode2ll")

2.0.18 by Matthew L. Fidler, 21 days ago


https://nlmixr2.github.io/rxode2ll/, https://github.com/nlmixr2/rxode2ll/


Report a bug at https://github.com/nlmixr2/rxode2ll/issues/


Browse source code at https://github.com/cran/rxode2ll


Authors: Matthew L. Fidler [aut, cre] (ORCID:


Documentation:   PDF Manual  


GPL (>= 3) license


Imports Rcpp, checkmate

Suggests covr, testthat

Linking to Rcpp, RcppEigen, StanHeaders, BH, RcppParallel


Imported by rxode2.


See at CRAN