scenarios
, nsim
and nextDose
, the first one generates new PK data based on the scenario, the second one simulates "n" clinical trials in order to find the next maximum tolerated dose (MTD) of the drug and the third one determines the next recommended dose for an ongoing phase I clinical trial based on an enrolled patient's data.
Subsequently, six dose-finding methods/models can be applied: dtox
, pktox
, pkcrm
, pkcov
, pkpop
, and pklogit
which each one creates a Bayesian model and fits it using Stan.Because dfpk is based on Stan models, a C++ compiler is required. The program Rtools (available on https://cran.r-project.org/bin/windows/Rtools/) comes with a C++ compiler for Windows. On Mac, you should use Xcode. For further instructions on how to get the compilers running, see the prerequisites section on https://github.com/stan-dev/rstan/wiki/RStan-Getting-Started.