Package: nbTransmission 1.1.4

Sarah V Leavitt

nbTransmission: Naive Bayes Transmission Analysis

Estimates the relative transmission probabilities between cases in an infectious disease outbreak or cluster using naive Bayes. Included are various functions to use these probabilities to estimate transmission parameters such as the generation/serial interval and reproductive number as well as finding the contribution of covariates to the probabilities and visualizing results. The ideal use is for an infectious disease dataset with metadata on the majority of cases but more informative data such as contact tracing or pathogen whole genome sequencing on only a subset of cases. For a detailed description of the methods see Leavitt et al. (2020) <doi:10.1093/ije/dyaa031>.

Authors:Sarah V Leavitt [aut, cre, cph]

nbTransmission_1.1.4.tar.gz
nbTransmission_1.1.4.zip(r-4.5)nbTransmission_1.1.4.zip(r-4.4)nbTransmission_1.1.4.zip(r-4.3)
nbTransmission_1.1.4.tgz(r-4.5-any)nbTransmission_1.1.4.tgz(r-4.4-any)nbTransmission_1.1.4.tgz(r-4.3-any)
nbTransmission_1.1.4.tar.gz(r-4.5-noble)nbTransmission_1.1.4.tar.gz(r-4.4-noble)
nbTransmission_1.1.4.tgz(r-4.4-emscripten)nbTransmission_1.1.4.tgz(r-4.3-emscripten)
nbTransmission.pdf |nbTransmission.html
nbTransmission/json (API)

# Install 'nbTransmission' in R:
install.packages('nbTransmission', repos = c('https://epiverse-connect.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/sarahleavitt/nbtransmission/issues

Pkgdown site:https://sarahleavitt.github.io

Datasets:
  • indData - Individual-level simulated outbreak dataset
  • nbResults - Dataset with results of 'nbProbabilities'
  • pairData - Pair-level simulated outbreak dataset

On CRAN:

4.45 score 4 stars 14 scripts 267 downloads 13 exports 77 dependencies

Last updated 1 years agofrom:5469d371b4. Checks:8 OK. Indexed: no.

TargetResultLatest binary
Doc / VignettesOKFeb 07 2025
R-4.5-winOKFeb 07 2025
R-4.5-macOKFeb 07 2025
R-4.5-linuxOKFeb 07 2025
R-4.4-winOKFeb 07 2025
R-4.4-macOKFeb 07 2025
R-4.3-winOKFeb 07 2025
R-4.3-macOKFeb 07 2025

Exports:clusterInfectorsestimateRestimateRiestimateRtestimateRtAvgestimateSIindToPairnbHeatmapnbNetworknbProbabilitiesperformNBperformPEMplotRt

Dependencies:caretclasscliclockcodetoolscolorspacecpp11data.tablediagramdigestdplyre1071fansifarverforeachfuturefuture.applygenericsggplot2globalsgluegowergtablehardhatipredisobanditeratorsKernSmoothlabelinglatticelavalifecyclelistenvlubridatemagrittrMASSMatrixmgcvModelMetricsmunsellnlmennetnumDerivparallellypillarpkgconfigplyrpoisbinompROCprodlimprogressrproxypurrrR6RColorBrewerRcpprecipesreshape2rlangrpartscalesshapesparsevctrsSQUAREMstringistringrsurvivaltibbletidyrtidyselecttimechangetimeDatetzdbutf8vctrsviridisLitewithr

Introductory tutorial for R Package nbTransmission

Rendered fromnbTransmission-vignette.Rmdusingknitr::rmarkdownon Feb 07 2025.

Last update: 2020-07-06
Started: 2019-11-19