-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathREADME.Rmd
69 lines (58 loc) · 3.11 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
66
67
68
69
<!--
---
output:
md_document:
variant: markdown_github
toc: true
toc_depth: 3
---
-->
<!-- README.md is generated from README.Rmd. Please edit that file -->
<!-- https://blog.r-hub.io/2019/12/03/readmes/ -->
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# RxODE
<!-- badges: start -->
[![R build status](https://github.com/nlmixrdevelopment/RxODE/workflows/R-CMD-check/badge.svg)](https://github.com/nlmixrdevelopment/RxODE/actions)
[![codecov.io](https://codecov.io/github/nlmixrdevelopment/RxODE/coverage.svg)](https://codecov.io/github/nlmixrdevelopment/RxODE?branch=master)
[![CRAN version](http://www.r-pkg.org/badges/version/RxODE)](https://cran.r-project.org/package=RxODE)
[![CRAN checks](https://cranchecks.info/badges/worst/RxODE)](https://cran.r-project.org/web/checks/check_results_RxODE.html)
[![CRAN total downloads](https://cranlogs.r-pkg.org/badges/grand-total/RxODE)](https://cran.r-project.org/package=RxODE)
[![CRAN total downloads](https://cranlogs.r-pkg.org/badges/RxODE)](https://cran.r-project.org/package=RxODE)
[![CodeFactor](https://www.codefactor.io/repository/github/nlmixrdevelopment/rxode/badge)](https://www.codefactor.io/repository/github/nlmixrdevelopment/rxode)
<!-- badges: end -->
## Overview
**RxODE** is an R package for solving and simulating from ode-based
models. These models are convert the RxODE mini-language to C and
create a compiled dll for fast solving. ODE solving using RxODE has a
few key parts:
- `RxODE()` which creates the C code for fast ODE solving based on a
[simple syntax](https://nlmixrdevelopment.github.io/RxODE/articles/RxODE-syntax.html) related to Leibnitz notation.
- The event data, which can be:
- a `NONMEM` or `deSolve` [compatible data frame](https://nlmixrdevelopment.github.io/RxODE/articles/RxODE-event-types.html), or
- created with `et()` or `EventTable()` for [easy simulation of events](https://nlmixrdevelopment.github.io/RxODE/articles/RxODE-event-table.html)
- The data frame can be augmented by adding
[time-varying](https://nlmixrdevelopment.github.io/RxODE/articles/RxODE-covariates.html#time-varying-covariates)
or adding [individual covariates](https://nlmixrdevelopment.github.io/RxODE/articles/RxODE-covariates.html#individual-covariates) (`iCov=` as needed)
- `rxSolve()` which solves the system of equations using initial
conditions and parameters to make predictions
- With multiple subject data, [this may be
parallelized](https://nlmixrdevelopment.github.io/RxODE/articles/RxODE-speed.html).
- With single subject the [output data frame is adaptive](https://nlmixrdevelopment.github.io/RxODE/articles/RxODE-data-frame.html)
- Covariances and other metrics of uncertanty can be used to
[simulate while solving](https://nlmixrdevelopment.github.io/RxODE/articles/RxODE-sim-var.html)
## Installation
```{r child='man-roxygen/rmdhunks/RxODE-install-hunk.Rmd'}
```
# Illustrated Example
```{r child='man/rmdhunks/RxODE-intro-chunk.Rmd'}
```
# Related R Packages
```{r child='man-roxygen/rmdhunks/related-R-chunk.Rmd'}
```