1745350
doi
10.5281/zenodo.1745350
oai:zenodo.org:1745350
Zhian N. Kamvar
Imperial College London
Jun Cai
Tsinghua University
Sarah Chisholm
Public Health England
Rich FitzJohn
Jakob Schumacher
Sangeeta Bhatia
Imperial College London
reconhub/incidence: Incidence version 1.5.2
Thibaut Jombart
Imperial College London
url:https://github.com/reconhub/incidence/tree/1.5.2
info:eu-repo/semantics/openAccess
Other (Open)
<p>This release of incidence includes a couple of bug fixes and also updates the incidence demo. This is the first CRAN version since 1.5.0. For incidence > 1.5.0, the way the object is constructed and plotted differs. Mainly, the ordering of the groups in the epicurve will match the ordering of the groups in the incidence object (previously, they were ordered alphabetically):</p>
<pre><code class="lang-r">library("incidence")
set.seed(2018-11-01)
dat <- rpois(200, 10)
me <- c("Mordor", "Shire", "Isengard", "Eisengard")
grp <- sample(me,
200,
replace = TRUE,
prob = c(1, 1, 1, 0.05))
i <- incidence(dat, group = grp)
plot(i, show_cases = TRUE)
</code></pre>
<p></p>
<pre><code class="lang-r">i <- incidence(dat, group = factor(grp, me))
plot(i, show_cases = TRUE)
</code></pre>
<p></p>
<pre><code class="lang-r">group_names(i)
#> [1] "Mordor" "Shire" "Isengard" "Eisengard"
</code></pre>
<p><sup>Created on 2018-11-30 by the [reprex package](https://reprex.tidyverse.org) (v0.2.1)</sup></p>
Zenodo
2018-11-30
info:eu-repo/semantics/other
1404718
1.5.2
1595637604.597053
5048240
md5:e4e82480f65d2d245318ab8ee6b0dd66
https://zenodo.org/records/1745350/files/reconhub/incidence-1.5.2.zip
public
https://github.com/reconhub/incidence/tree/1.5.2
Is supplement to
url
10.5281/zenodo.1404718
isVersionOf
doi