Learn R Programming

Rnaught

Rnaught is an R package and web application for estimating the basic reproduction number (R0) of infectious diseases.

An instance of the web application is available at https://immune.math.yorku.ca/Rnaught.

Installation

Latest CRAN release

install.packages("Rnaught")

Development version

install.packages("devtools") # If not already installed.
devtools::install_github("MI2YorkU/Rnaught", build_vignettes = TRUE)

Documentation

The package documentation is available online at https://mi2yorku.github.io/Rnaught/.

For a quick introduction, see the Get started page. This can also be accessed from an R session with vignette("Rnaught", package = "Rnaught").

To view the documentation locally, run ?Rnaught::<function>. A list of all functions is shown in the package index by executing help(package = "Rnaught").

Contributing

The source code for this package is available on GitHub.

To report a bug, request a new feature, give feedback, or ask questions, open a new issue.

Submit new estimators, features, bug fixes, or patches by creating a pull request.

License

Copyright © 2022 - 2025 Rnaught contributors

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see https://www.gnu.org/licenses/.

Copy Link

Version

Install

install.packages('Rnaught')

Monthly Downloads

126

Version

0.1.0

License

AGPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Naeem Model

Last Published

September 2nd, 2025

Functions in Rnaught (0.1.0)

Rnaught-package

Rnaught: Estimate the Basic Reproduction Number (R0)
web

Launch the Rnaught Web Application
id

Incidence Decay (ID)
idea

Incidence Decay and Exponential Adjustment (IDEA)
seq_bayes

Sequential Bayes (seqB)
wp

White and Pagano (WP)
COVIDCanadaPT

COVID-19 Canada Provincial and Territorial Case Counts, 2020-2023
COVIDCanada

COVID-19 Canada National Case Counts, 2020-2023