-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.Rmd
66 lines (51 loc) · 1.84 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# rxode2ll
<!-- badges: start -->
[![R build status](https://github.com/nlmixr2/rxode2ll/workflows/R-CMD-check/badge.svg)](https://github.com/nlmixr2/rxode2ll/actions)
[![codecov.io](https://codecov.io/gh/nlmixr2/rxode2ll/coverage.svg)](https://app.codecov.io/gh/nlmixr2/rxode2ll)
[![CRAN version](http://www.r-pkg.org/badges/version/rxode2ll)](https://cran.r-project.org/package=rxode2ll)
[![CRAN total downloads](https://cranlogs.r-pkg.org/badges/grand-total/rxode2ll)](https://cran.r-project.org/package=rxode2ll)
[![CRAN total downloads](https://cranlogs.r-pkg.org/badges/rxode2ll)](https://cran.r-project.org/package=rxode2ll)
[![CodeFactor](https://www.codefactor.io/repository/github/nlmixr2/rxode2ll/badge)](https://www.codefactor.io/repository/github/nlmixr2/rxode2ll)
![r-universe](https://nlmixr2.r-universe.dev/badges/rxode2ll)
<!-- badges: end -->
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](https://github.com/) with:
``` r
# 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:
```r
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()`