Skip to content

Log-likelihood routines for 'rxode2' to enable 'nlmixr2' generalized likelihood estimation

Notifications You must be signed in to change notification settings

nlmixr2/rxode2ll

Repository files navigation

rxode2ll

R build status codecov.io CRAN version CRAN total downloads CRAN total downloads 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()

About

Log-likelihood routines for 'rxode2' to enable 'nlmixr2' generalized likelihood estimation

Resources

Stars

Watchers

Forks

Packages

No packages published