Package: cfrnow
Title: Real-Time Case Fatality Ratio via a Mixture-Cure Survival Model
Version: 0.4.0
Authors@R: 
    person("Sebastian", "Funk", , "sebastian.funk@lshtm.ac.uk",
           role = c("aut", "cre"))
Description: Estimates a real-time case fatality ratio (CFR) from
        line-list data using a Bayesian mixture-cure survival model,
        registered as an 'epidist' model type so the CFR and the
        onset-to-death delay both take 'brms' formulas. Each case is
        fatal with probability equal to the CFR and, when fatal, dies
        at an interval-censored onset-to-death delay; cases still alive
        at the observation cut-off are right-censored, which corrects
        the downward bias of the naive deaths / cases ratio in real
        time. The delay is co-estimated using the 'primarycensored'
        censored-distribution machinery.
License: MIT + file LICENSE
URL: https://epiforecasts.io/cfrnow/,
        https://github.com/epiforecasts/cfrnow
BugReports: https://github.com/epiforecasts/cfrnow/issues
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
Depends: distspec (>= 0.1.0), R (>= 4.1.0)
Imports: brms, checkmate, epidist, lifecycle, posterior,
        primarycensored (>= 1.5.2), rlang, stats
Suggests: cmdstanr, data.table, ggplot2, knitr, rmarkdown, testthat (>=
        3.0.0)
VignetteBuilder: knitr
Remotes: epinowcast/epidist, paul-buerkner/brms
Additional_repositories: https://stan-dev.r-universe.dev
Config/testthat/edition: 3
Config/roxygen2/version: 8.0.0
RoxygenNote: 7.3.3
Config/pak/sysreqs: cmake make libicu-dev
Repository: https://epiforecasts.r-universe.dev
Date/Publication: 2026-10-05 16:50:24 UTC
RemoteUrl: https://github.com/epiforecasts/cfrnow
RemoteRef: v0.4.0
RemoteSha: df7b1da22c40a6beea1fd7983ae76860bfaac555
NeedsCompilation: no
Packaged: 2026-10-13 00:20:34 UTC; root
Author: Sebastian Funk [aut, cre]
Maintainer: Sebastian Funk <sebastian.funk@lshtm.ac.uk>
