Chapter 1 Introduction

Welcome to the rxode2 user guide; rxode2 is an R package for solving and simulating from ode-based models. These models are convert the rxode2 mini-language to C and create a compiled dll for fast solving. ODE solving using rxode2 has a few key parts:

  • rxode2() which creates the C code for fast ODE solving based on a simple syntax (Chapter 6) related to Leibnitz notation.

  • The event data, which can be:

    • a NONMEM or deSolve compatible data frame (Chapter 7), or
    • created with et() or EventTable() for easy simulation of events (Chapter 11)
    • The data frame can be augmented by adding time varying or adding 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.
    • With single subject the output data frame is adaptive
    • Covariances and other metrics of uncertainty can be used to simulate while solving.

While this is the user guide, there are other places that you can visit for help:

This book was assembled on Mon Nov 7 20:04:52 2022 with rxode2 version 2.0.11 automatically by github actions.