// readme

nlmixr2est: The core estimation routines for nlmixr2

status](https://www.r-pkg.org/badges/version/nlmixr2est)](https://CRAN.R-project.org/package=nlmixr2est) downloads](https://cranlogs.r-pkg.org/badges/grand-total/nlmixr2est)](https://cran.r-project.org/package=nlmixr2est) downloads](https://cranlogs.r-pkg.org/badges/nlmixr2est)](https://cran.r-project.org/package=nlmixr2est) coverage](https://codecov.io/gh/nlmixr2/nlmixr2est/graph/badge.svg)](https://app.codecov.io/gh/nlmixr2/nlmixr2est)

The goal of nlmixr2est is to provide the nlmixr2 core estimation routines.

Installation

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

# install.packages("remotes")
remotes::install_github("nlmixr2/rxode2")
remotes::install_github("nlmixr2/nlmixr2data")
remotes::install_github("nlmixr2/lotri")
remotes::install_github("nlmixr2/nlmixr2est")

For most people, using nlmixr2 directly would be likely easier.

library(nlmixr2est)
#> Loading required package: nlmixr2data

## The basic model consists of an ini block that has initial estimates
one.compartment <- function() {
  ini({
    tka <- 0.45; label("Ka")
    tcl <- 1;โ€ฆ