Package: bayespk 0.1.0
bayespk: Bayesian Population Pharmacokinetics Without Writing 'Stan'
Fits 1- and 2-compartment linear population pharmacokinetic models by Bayesian inference. Models are described in a few lines of R and the data are a 'NONMEM'-style data set used as is. Precompiled 'Stan' programs use closed-form solutions superposed over doses, so no 'CmdStan', no model code and no compilation are needed at run time. Reports convergence diagnostics by default and predicts new regimens from the posterior without refitting.
Authors:
bayespk_0.1.0.tar.gz
bayespk_0.1.0.zip(r-4.7-x86_64)bayespk_0.1.0.zip(r-4.7-arm64)bayespk_0.1.0.zip(r-4.6-x86_64)bayespk_0.1.0.zip(r-4.6-arm64)bayespk_0.1.0.zip(r-4.5-x86_64)
bayespk_0.1.0.tgz(r-4.6-x86_64)bayespk_0.1.0.tgz(r-4.6-arm64)bayespk_0.1.0.tgz(r-4.5-x86_64)bayespk_0.1.0.tgz(r-4.5-arm64)
bayespk_0.1.0.tar.gz(r-4.7-arm64)bayespk_0.1.0.tar.gz(r-4.7-x86_64)bayespk_0.1.0.tar.gz(r-4.6-arm64)bayespk_0.1.0.tar.gz(r-4.6-x86_64)
bayespk_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
bayespk/json (API)
| # Install 'bayespk' in R: |
| install.packages('bayespk', repos = c('https://daikikumakura.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/daikikumakura/bayespk/issues
Pkgdown/docs site:https://daikikumakura.github.io
bayesianpharmacometricspopulation-pharmacokineticsstanonetbbcpp
Last updated from:20c0b84a46. Checks:15 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 214 | ||
| linux-devel-x86_64 | OK | 265 | ||
| source / vignettes | OK | 271 | ||
| linux-release-arm64 | OK | 213 | ||
| linux-release-x86_64 | OK | 270 | ||
| macos-release-arm64 | OK | 282 | ||
| macos-release-x86_64 | OK | 603 | ||
| macos-oldrel-arm64 | OK | 218 | ||
| macos-oldrel-x86_64 | OK | 467 | ||
| windows-devel-arm64 | OK | 491 | ||
| windows-devel-x86_64 | OK | 299 | ||
| windows-release-arm64 | OK | 501 | ||
| windows-release-x86_64 | OK | 263 | ||
| windows-oldrel-x86_64 | OK | 206 | ||
| wasm-release | OK | 193 |
Exports:bpk_diagnosticsbpk_drawsbpk_fitdose_regimenhalf_normallognormalnormalpk_concpk_modelpk_priorsprior_sensitivity
Dependencies:abindbackportsBHcallrcheckmateclicpp11descdistributionalfarvergenericsggplot2gluegridExtragtableinlineisobandlabelinglifecycleloomagrittrmatrixStatsnumDerivotelpillarpkgbuildpkgconfigposteriorprocessxpsQuickJSRR6RColorBrewerRcppRcppEigenRcppParallelrlangrstanrstantoolsS7scalesStanHeaderstensorAtibbleutf8vctrsviridisLitewithr
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| bayespk: Bayesian population pharmacokinetics without writing Stan | bayespk-package bayespk |
| Sampler diagnostics | bpk_diagnostics |
| Posterior draws of population parameters | bpk_draws |
| Fit a Bayesian population pharmacokinetic model | bpk_fit |
| Dosing regimen | dose_regimen |
| Concentrations from closed-form solutions | pk_conc |
| Define a population pharmacokinetic model | pk_model |
| Specify priors | pk_priors |
| Posterior predictions | predict.bpk_fit |
| Prior sensitivity by power-scaling | prior_sensitivity |
| Prior distributions | half_normal lognormal normal priors |
| Summarise a fit | summary.bpk_fit |
