2 <!-- Generated by pkgdown: do not edit by hand --><html lang=
"en">
4 <meta http-equiv=
"Content-Type" content=
"text/html; charset=UTF-8">
6 <meta http-equiv=
"X-UA-Compatible" content=
"IE=edge">
7 <meta name=
"viewport" content=
"width=device-width, initial-scale=1, shrink-to-fit=no">
8 <title>Estimate the Basic Reproduction Number (R0) of Infectious Diseases • Rnaught
</title>
9 <!-- favicons --><link rel=
"icon" type=
"image/png" sizes=
"16x16" href=
"favicon-16x16.png">
10 <link rel=
"icon" type=
"image/png" sizes=
"32x32" href=
"favicon-32x32.png">
11 <link rel=
"apple-touch-icon" type=
"image/png" sizes=
"180x180" href=
"apple-touch-icon.png">
12 <link rel=
"apple-touch-icon" type=
"image/png" sizes=
"120x120" href=
"apple-touch-icon-120x120.png">
13 <link rel=
"apple-touch-icon" type=
"image/png" sizes=
"76x76" href=
"apple-touch-icon-76x76.png">
14 <link rel=
"apple-touch-icon" type=
"image/png" sizes=
"60x60" href=
"apple-touch-icon-60x60.png">
15 <script src=
"deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name=
"viewport" content=
"width=device-width, initial-scale=1, shrink-to-fit=no">
16 <link href=
"deps/bootstrap-5.3.1/bootstrap.min.css" rel=
"stylesheet">
17 <script src=
"deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><link href=
"deps/font-awesome-6.5.2/css/all.min.css" rel=
"stylesheet">
18 <link href=
"deps/font-awesome-6.5.2/css/v4-shims.min.css" rel=
"stylesheet">
19 <script src=
"deps/headroom-0.11.0/headroom.min.js"></script><script src=
"deps/headroom-0.11.0/jQuery.headroom.min.js"></script><script src=
"deps/bootstrap-toc-1.0.1/bootstrap-toc.min.js"></script><script src=
"deps/clipboard.js-2.0.11/clipboard.min.js"></script><script src=
"deps/search-1.0.0/autocomplete.jquery.min.js"></script><script src=
"deps/search-1.0.0/fuse.min.js"></script><script src=
"deps/search-1.0.0/mark.min.js"></script><!-- pkgdown --><script src=
"pkgdown.js"></script><meta property=
"og:title" content=
"Estimate the Basic Reproduction Number (R0) of Infectious Diseases">
20 <meta name=
"description" content=
"An R package and web application for estimating the basic reproduction number (R0) of infectious diseases.">
21 <meta property=
"og:description" content=
"An R package and web application for estimating the basic reproduction number (R0) of infectious diseases.">
22 <meta property=
"og:image" content=
"https://MI2YorkU.github.io/Rnaught/logo.svg">
25 <a href=
"#main" class=
"visually-hidden-focusable">Skip to contents
</a>
28 <nav class=
"navbar navbar-expand-lg fixed-top bg-light" data-bs-theme=
"light" aria-label=
"Site navigation"><div class=
"container">
30 <a class=
"navbar-brand me-2" href=
"index.html">Rnaught
</a>
32 <small class=
"nav-text text-muted me-auto" data-bs-toggle=
"tooltip" data-bs-placement=
"bottom" title=
"">0.1.0</small>
35 <button class=
"navbar-toggler" type=
"button" data-bs-toggle=
"collapse" data-bs-target=
"#navbar" aria-controls=
"navbar" aria-expanded=
"false" aria-label=
"Toggle navigation">
36 <span class=
"navbar-toggler-icon"></span>
39 <div id=
"navbar" class=
"collapse navbar-collapse ms-3">
40 <ul class=
"navbar-nav me-auto">
41 <li class=
"nav-item"><a class=
"nav-link" href=
"articles/Rnaught.html">Get started
</a></li>
42 <li class=
"nav-item"><a class=
"nav-link" href=
"reference/index.html">Reference
</a></li>
43 <li class=
"nav-item dropdown">
44 <button class=
"nav-link dropdown-toggle" type=
"button" id=
"dropdown-articles" data-bs-toggle=
"dropdown" aria-expanded=
"false" aria-haspopup=
"true">Articles
</button>
45 <ul class=
"dropdown-menu" aria-labelledby=
"dropdown-articles">
46 <li><a class=
"dropdown-item" href=
"articles/seq_bayes_post.html">Sequential Bayes: Utilizing the Posterior Distribution
</a></li>
47 <li><a class=
"dropdown-item" href=
"articles/wp_serial.html">White and Pagano: Utilizing the Serial Distribution
</a></li>
51 <ul class=
"navbar-nav">
52 <li class=
"nav-item"><form class=
"form-inline" role=
"search">
53 <input class=
"form-control" type=
"search" name=
"search-input" id=
"search-input" autocomplete=
"off" aria-label=
"Search site" placeholder=
"Search for" data-search-index=
"search.json">
55 <li class=
"nav-item"><a class=
"external-link nav-link" href=
"https://github.com/MI2YorkU/Rnaught/" aria-label=
"GitHub"><span class=
"fa fab fa-github fa-lg"></span></a></li>
61 </nav><div class=
"container template-home">
63 <main id=
"main" class=
"col-md-9"><div class=
"section level1">
64 <div class=
"page-header">
65 <img src=
"logo.svg" class=
"logo" alt=
""><h1 id=
"rnaught-">Rnaught
66 <a class=
"anchor" aria-label=
"anchor" href=
"#rnaught-"></a>
69 <!-- badges: start -->
71 <p>Rnaught is an R package and web application for estimating the
<a href=
"https://en.wikipedia.org/wiki/Basic_reproduction_number" class=
"external-link">basic reproduction number (
<em>R
</em><sub>0</sub>)
</a> of infectious diseases.
</p>
72 <p>An instance of the web application is available at
<a href=
"https://immune.math.yorku.ca/Rnaught" class=
"external-link uri">https://immune.math.yorku.ca/Rnaught
</a>.
</p>
73 <div class=
"section level2">
74 <h2 id=
"installation">Installation
<a class=
"anchor" aria-label=
"anchor" href=
"#installation"></a>
76 <p>You can install the development version of Rnaught using the
<a href=
"https://devtools.r-lib.org" class=
"external-link">devtools
</a> package. Run the following commands in an R session:
</p>
77 <div class=
"sourceCode" id=
"cb1"><pre class=
"downlit sourceCode r">
78 <code class=
"sourceCode R"><span><span class=
"fu"><a href=
"https://rdrr.io/r/utils/install.packages.html" class=
"external-link">install.packages
</a></span><span class=
"op">(
</span><span class=
"st">"devtools"</span><span class=
"op">)
</span> <span class=
"co"># If not already installed.
</span></span>
79 <span><span class=
"fu">devtools
</span><span class=
"fu">::
</span><span class=
"fu">install_github
</span><span class=
"op">(
</span><span class=
"st">"MI2YorkU/Rnaught"</span>, build_vignettes
<span class=
"op">=
</span> <span class=
"cn">TRUE
</span><span class=
"op">)
</span></span></code></pre></div>
81 <div class=
"section level2">
82 <h2 id=
"documentation">Documentation
<a class=
"anchor" aria-label=
"anchor" href=
"#documentation"></a>
84 <p>The package documentation is available online at
<a href=
"https://MI2YorkU.github.io/Rnaught" class=
"uri">https://MI2YorkU.github.io/Rnaught
</a>.
</p>
85 <p>For a quick introduction, see the
<a href=
"https://MI2YorkU.github.io/Rnaught/articles/Rnaught.html">Get started
</a> page. This can also be accessed from an R session with
<code><a href=
"articles/Rnaught.html">vignette("Rnaught", package = "Rnaught")
</a></code>.
</p>
86 <p>To view the documentation locally, run
<code>?Rnaught::
<function
></code>. A list of all functions is shown in the package index by executing
<code><a href=
"https://MI2YorkU.github.io/Rnaught/reference">help(package = "Rnaught")
</a></code>.
</p>
88 <div class=
"section level2">
89 <h2 id=
"contributing">Contributing
<a class=
"anchor" aria-label=
"anchor" href=
"#contributing"></a>
91 <p>The source code for this package is available on
<a href=
"https://github.com/MI2YorkU/Rnaught" class=
"external-link">GitHub
</a>.
</p>
92 <p>To report a bug, request a new feature, give feedback, or ask questions, open a new
<a href=
"https://github.com/MI2YorkU/Rnaught/issues" class=
"external-link">issue
</a>.
</p>
93 <p>Submit new estimators, features, bug fixes, or patches by creating a
<a href=
"https://github.com/MI2YorkU/Rnaught/pulls" class=
"external-link">pull request
</a>.
</p>
95 <div class=
"section level2">
96 <h2 id=
"license">License
<a class=
"anchor" aria-label=
"anchor" href=
"#license"></a>
98 <p>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.
</p>
99 <p>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.
</p>
100 <p>You should have received a copy of the GNU Affero General Public License along with this program. If not, see
<a href=
"https://www.gnu.org/licenses" class=
"external-link uri">https://www.gnu.org/licenses
</a>.
</p>
103 </main><aside class=
"col-md-3"><div class=
"links">
104 <h2 data-toc-skip
>Links
</h2>
105 <ul class=
"list-unstyled">
106 <li><a href=
"https://github.com/MI2YorkU/Rnaught/" class=
"external-link">Browse source code
</a></li>
107 <li><a href=
"https://github.com/MI2YorkU/Rnaught/issues" class=
"external-link">Report a bug
</a></li>
111 <div class=
"license">
112 <h2 data-toc-skip
>License
</h2>
113 <ul class=
"list-unstyled">
114 <li>AGPL (
>=
3)
</li>
119 <div class=
"citation">
120 <h2 data-toc-skip
>Citation
</h2>
121 <ul class=
"list-unstyled">
122 <li><a href=
"authors.html#citation">Citing Rnaught
</a></li>
126 <div class=
"developers">
127 <h2 data-toc-skip
>Developers
</h2>
128 <ul class=
"list-unstyled">
129 <li>Naeem Model
<br><small class=
"roles"> Author, maintainer
</small> </li>
130 <li>Sawitree Boonpatcharanon
<br><small class=
"roles"> Author
</small> </li>
131 <li>Jane Heffernan
<br><small class=
"roles"> Author
</small> </li>
132 <li>Hanna Jankowski
<br><small class=
"roles"> Author
</small> </li>
133 <li><a href=
"authors.html">More about authors...
</a></li>
137 <div class=
"dev-status">
138 <h2 data-toc-skip
>Dev status
</h2>
139 <ul class=
"list-unstyled">
140 <li><a href=
"https://github.com/MI2YorkU/Rnaught/actions/workflows/R-CMD-check.yaml" class=
"external-link"><img src=
"https://github.com/MI2YorkU/Rnaught/actions/workflows/R-CMD-check.yaml/badge.svg" alt=
"R-CMD-check"></a></li>
148 <footer><div class=
"pkgdown-footer-left">
149 <p>Developed by Naeem Model, Sawitree Boonpatcharanon, Jane Heffernan, Hanna Jankowski.
</p>
152 <div class=
"pkgdown-footer-right">
153 <p>Site built with
<a href=
"https://pkgdown.r-lib.org/" class=
"external-link">pkgdown
</a> 2.1.1.
</p>