Survival Analysis with nlmixr2

Justin Wilkins and the nlmixr2 Development Team show how to fit parametric time-to-event models in nlmixr2 using the package’s custom log-likelihood interface.
pharma
submissions
clinical research
announcements
working group
Author

R Consortium

Published

May 28, 2026

the nlmixr2 working group logo

Original post on the nlmixr2 project blog is here.

The nlmixr2 Working Group is expanding what open-source R tooling can support in pharmacometrics, including time-to-event modeling workflows that are important in clinical and drug-development settings.

In this technical post, Justin Wilkins and the nlmixr2 Development Team show how to fit parametric time-to-event models in nlmixr2 using the package’s custom log-likelihood interface.

The post walks through simulated two-arm trial data, compares exponential and Gompertz models, and shows how nlmixr2 can support flexible survival modeling workflows in R.

Read the full post from the nlmixr2 blog: Survival Analysis with nlmixr2

Get involved in the nlmixr2 working group

The nlmixr2 working group is open to anyone interested in contributing to the project. You can get involved by:

Main repo: https://github.com/nlmixr2/nlmixr2
Issues: https://github.com/nlmixr2/nlmixr2/issues
Discussions: https://github.com/nlmixr2/nlmixr2/discussions