InsightRX / PKPDposterior

R package for full-Bayesian inference in the context of model-informed precision dosing
Other
3 stars 1 forks source link

PKPDposterior

Introduction

This software package provides convenience functions around Stan (CmdStanR), Torsten, and PKPDsim. The goal of the package is to make it easier to full-Bayesian inference in the context of model-informed precision dosing.

The software is intended for use in education and research, and is not intended for clinical use. By design, this package does not include functionality that directly provides dosing advice.

Installation and getting started

Install the latest version of PKPDposterior using remotes or devtools:

remotes::install_github("InsightRX/PKPDposterior")
devtools::install_github("InsightRX/PKPDposterior")

PKPDposterior depends on Torsten and Stan. If you don't already have these software working, follow the instructions for installing Torsten. Then, add the file path to your Stan installation location to your environment variables.

Sys.setenv(CMDSTAN = "path/to/Torsten/cmdstan")

To avoid running the above command every time you restart your R session, consider adding this environment variable to your .Renviron or other configuration file.

Contributing

We welcome input from the community:

Disclaimer

The functionality in this R package is provided "as is". While its authors adhere to software development best practices, the software may still contain unintended errors.

InsightRX Inc. and the authors of this package can not be held liable for any damages resulting from any use of this software. By the use of this software package, the user waives all warranties, expressed or implied, including any warranties to the accuracy, quality or suitability of InsightRX for any particular purpose, either medical or non-medical.

© InsightRX logo