DBDelve
DBDelve는 Rust 기반 빠른 다중 엔진 데이터베이스 클라이언트, 무료 오픈소스, 텔레메트리 없음
주요 사건 검열 분포와 베이지안 모델링용 Stan 구현 기능을 제공합니다
Provides 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 rep
개발 도구R · StanGitHub @epinowcast온라인운영자 미확인
써 보셨어요? 한 번만 눌러 주세요. 로그인은 필요 없어요.
Primary event censored distributions.
README 전체를 불러오는 중입니다.
README 전문 보기 ↗Provides 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 (Charniga et al. (2024) doi:10.48550/arXiv.2405.08841). It also provides support for arbitrary delay distributions, a range of common primary distributions, and allows for truncation and secondary event censoring to be accounted for (Park et al. (2024) doi:10.1101/2024.01.12.24301247). A subset of common distributions also have analytical solutions implemented, allowing for faster computation. In addition, it provides multiple methods for fitting primary event censored distributions to data via optional dependencies.
Installing the package
You can install the latest released version from CRAN using the standard
install.packages function:
install.packages("primarycensored")
Alternatively, you can install the latest release from our r-universe repository:
install.packages("primarycensored", repos = "https://epinowcast.r-universe.dev")
To install the development version from GitHub (warning! this version
may contain breaking changes and/or bugs), use the pak
package:
pak::pak("epinowcast/primarycensored")
Similarly, you can install historical versions by specifying the release
tag (e.g.,
v0.2.0):
pak::pak("epinowcast/[email protected]")
Note: You can also use the above approach to install a specific commit if needed, for example, if you want to try out a specific unreleased feature, but not the absolute latest developmental version.
Installing CmdStan (optional for Stan functionality)
If you wish to use the Stan functions, you will need to install
CmdStan, which also
entails having a suitable C++ toolchain setup. We recommend using the
cmdstanr package. The Stan team
provides instructions in the Getting started with
cmdstanr
vignette, with other details and support at the package
site along with some key instructions
available in the Stan resources package
vignette,
but the brief version is:
# if you not yet installed `primarycensored`, or you installed it without
# `Suggests` dependencies
install.packages(
"cmdstanr",
repos = c("https://stan-dev.r-universe.dev", getOption("repos"))
)
# once `cmdstanr` is installed:
cmdstanr::install_cmdstan()
Note: You can speed up CmdStan installation using the cores argument.
If you are installing a particular version of epinowcast, you may also
need to install a past version of CmdStan, which you can do with the
version argument.
We provide a range of other documentation, case studies, and community spaces to ask (and answer!) questions:
Package Website
The primarycensored website
includes a function reference, model outline, and case studies using the
package. The site mainly concerns the release version, but you can also
find documentation for the latest development
version.
Vignettes
We have created package vignettes to help you get started with primarycensored and to highlight other features with case studies.
Organisation Website
Our organisation website includes links to other resources, guest posts, and seminar schedule for both upcoming and past recordings.
Community Forum
Our community forum has areas for
question and answer
and considering new methods and
tools, among others. If
you are generally interested in real-time analysis of infectious
disease, you may find this useful even if you do not use
primarycensored.
여기까지가 README 앞부분입니다. 나머지는 원문에서 읽을 수 있습니다. README 전문 보기 ↗