Package: primarycensoreddist 0.3.0
primarycensoreddist: Primary Event Censored Distributions in R and Stan
This package provides both R functions for working with primary event censored distributions and Stan implementations for use in Bayesian modeling. Primary event censored distributions are useful for modeling delayed reporting scenarios in epidemiology and other fields. It provides support for arbitrary delay distributions, a range of common primary distributions, and allows for truncation and secondary event censoring to be accounted for.
Authors:
primarycensoreddist_0.3.0.tar.gz
primarycensoreddist_0.3.0.zip(r-4.5)primarycensoreddist_0.3.0.zip(r-4.4)primarycensoreddist_0.3.0.zip(r-4.3)
primarycensoreddist_0.3.0.tgz(r-4.4-any)primarycensoreddist_0.3.0.tgz(r-4.3-any)
primarycensoreddist_0.3.0.tar.gz(r-4.5-noble)primarycensoreddist_0.3.0.tar.gz(r-4.4-noble)
primarycensoreddist_0.3.0.tgz(r-4.4-emscripten)primarycensoreddist_0.3.0.tgz(r-4.3-emscripten)
primarycensoreddist.pdf |primarycensoreddist.html✨
primarycensoreddist/json (API)
NEWS
# Install 'primarycensoreddist' in R: |
install.packages('primarycensoreddist', repos = c('https://epinowcast.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/epinowcast/primarycensoreddist/issues
censoringdistributionstruncation
Last updated 2 days agofrom:a63b0b6e99 (on v0.3.0). Checks:OK: 1 ERROR: 6. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Sep 06 2024 |
R-4.5-win | ERROR | Sep 06 2024 |
R-4.5-linux | ERROR | Sep 06 2024 |
R-4.4-win | ERROR | Sep 06 2024 |
R-4.4-mac | ERROR | Sep 06 2024 |
R-4.3-win | ERROR | Sep 06 2024 |
R-4.3-mac | ERROR | Sep 06 2024 |
Exports:check_dprimarycheck_pdistdexpgrowthdpcensdprimarycensoreddistpcd_load_stan_functionspcd_stan_filespcd_stan_functionspcd_stan_pathpexpgrowthppcenspprimarycensoreddistrexpgrowthrpcensrprimarycensoreddist
Dependencies:
Fitting distributions using primarycensorseddist and fitdistr
Rendered fromfitting-dists-with-fitdistr.Rmd
usingknitr::rmarkdown
on Sep 06 2024.Last update: 2024-09-06
Started: 2024-09-04
Getting Started with primarycensoreddist
Rendered fromprimarycensoreddist.Rmd
usingknitr::rmarkdown
on Sep 06 2024.Last update: 2024-09-06
Started: 2024-09-02
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Check if a function is a valid bounded probability density function (PDF) | check_dprimary |
Check if a function is a valid cumulative distribution function (CDF) | check_pdist |
Compute the primary event censored PMF for delays | dpcens dprimarycensoreddist |
Exponential growth distribution functions | dexpgrowth expgrowth pexpgrowth rexpgrowth |
Load Stan functions as a string | pcd_load_stan_functions |
Get Stan files containing specified functions | pcd_stan_files |
Get Stan function names from Stan files | pcd_stan_functions |
Get the path to the Stan code | pcd_stan_path |
Compute the primary event censored CDF for delays | ppcens pprimarycensoreddist |
Generate random samples from a primary event censored distribution | rpcens rprimarycensoreddist |