Package: chkptstanr 0.2.0
chkptstanr: Checkpoint MCMC Sampling with 'Stan'
Fit Bayesian models in Stan <doi:10.18637/jss.v076.i01> with checkpointing, that is, the ability to stop the MCMC sampler at will, and then pick right back up where the MCMC sampler left off. Custom 'Stan' models can be fitted, or the popular package 'brms' <doi:10.18637/jss.v080.i01> can be used to generate the 'Stan' code. This package is fully compatible with the R packages 'brms', 'posterior', 'cmdstanr', and 'bayesplot'.
Authors:
chkptstanr_0.2.0.tar.gz
chkptstanr_0.2.0.zip(r-4.5)chkptstanr_0.2.0.zip(r-4.4)chkptstanr_0.2.0.zip(r-4.3)
chkptstanr_0.2.0.tgz(r-4.4-any)chkptstanr_0.2.0.tgz(r-4.3-any)
chkptstanr_0.2.0.tar.gz(r-4.5-noble)chkptstanr_0.2.0.tar.gz(r-4.4-noble)
chkptstanr_0.2.0.tgz(r-4.4-emscripten)chkptstanr_0.2.0.tgz(r-4.3-emscripten)
chkptstanr.pdf |chkptstanr.html✨
chkptstanr/json (API)
# Install 'chkptstanr' in R: |
install.packages('chkptstanr', repos = c('https://popov-lab.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/venpopov/chkptstanr/issues
Pkgdown site:https://venpopov.github.io
Last updated 11 months agofrom:94eea9a665 (on v0.2.0). Checks:1 OK, 6 ERROR. Indexed: no.
Target | Result | Latest binary |
---|---|---|
Doc / Vignettes | OK | Dec 24 2024 |
R-4.5-win | ERROR | Dec 24 2024 |
R-4.5-linux | ERROR | Dec 24 2024 |
R-4.4-win | ERROR | Dec 24 2024 |
R-4.4-mac | ERROR | Dec 24 2024 |
R-4.3-win | ERROR | Dec 24 2024 |
R-4.3-mac | ERROR | Dec 24 2024 |
Exports:chkpt_brmschkpt_setupchkpt_stancombine_chkpt_drawscreate_folderextract_chkpt_drawsextract_hmc_infoextract_stan_statemake_brmsfitreset_checkpoints
Dependencies:abindbackportsbayesplotBHbridgesamplingbrmsBrobdingnagcallrcheckmateclicodacodetoolscolorspacecrayondescdiffobjdigestdistributionaldplyrfansifarverfsfuturefuture.applygenericsggplot2ggridgesglobalsgluegridExtragtableinlineisobandlabelinglatticelifecyclelistenvloomagrittrMASSMatrixmatrixStatsmgcvmunsellmvtnormnleqslvnlmenumDerivparallellypillarpkgbuildpkgconfigplyrposteriorprocessxpsQuickJSRR6rbibutilsRColorBrewerRcppRcppEigenRcppParallelRdpackreshape2rlangrstanrstantoolsscalesStanHeadersstringistringrtensorAtibbletidyselectutf8vctrsviridisLitewaldowithr
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Checkpoint Sampling: brms | chkpt_brms |
Checkpoint Setup | chkpt_setup |
Checkpoint Sampling: Stan | chkpt_stan |
Combine Checkpoint Draws | combine_chkpt_draws |
Create Folder for Checkpointing (Deprecated) | create_folder |
Extract Draws from 'CmdStanMCMC' Objects | extract_chkpt_draws |
Extract HMC Sampler Information | extract_hmc_info |
Extract Stan State | extract_stan_state |
Make 'brmsfit' Object | make_brmsfit |
Print 'chkpt_brms' Objects | print.chkpt_brms |
Print 'chkpt_setup' Object | print.chkpt_setup |
Delete Checkpoint Folders containing samples, keep the model | reset_checkpoints |