There is a newer version of this record available.

Software Open Access

reconhub/incidence: Incidence version 1.5.2

Thibaut Jombart; Zhian N. Kamvar; Jun Cai; Sarah Chisholm; Rich FitzJohn; Jakob Schumacher; Sangeeta Bhatia


Dublin Core Export

<?xml version='1.0' encoding='utf-8'?>
<oai_dc:dc xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd">
  <dc:creator>Thibaut Jombart</dc:creator>
  <dc:creator>Zhian N. Kamvar</dc:creator>
  <dc:creator>Jun Cai</dc:creator>
  <dc:creator>Sarah Chisholm</dc:creator>
  <dc:creator>Rich FitzJohn</dc:creator>
  <dc:creator>Jakob Schumacher</dc:creator>
  <dc:creator>Sangeeta Bhatia</dc:creator>
  <dc:date>2018-11-30</dc:date>
  <dc:description>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 &gt; 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):
library("incidence")
set.seed(2018-11-01)
dat &lt;- rpois(200, 10)
me  &lt;- c("Mordor", "Shire", "Isengard", "Eisengard")
grp &lt;- sample(me, 
              200,
              replace = TRUE,
              prob = c(1, 1, 1, 0.05))
i   &lt;- incidence(dat, group = grp)
plot(i, show_cases = TRUE)


i   &lt;- incidence(dat, group = factor(grp, me))
plot(i, show_cases = TRUE)


group_names(i)
#&gt; [1] "Mordor"    "Shire"     "Isengard"  "Eisengard"

&lt;sup&gt;Created on 2018-11-30 by the [reprex package](https://reprex.tidyverse.org) (v0.2.1)&lt;/sup&gt;</dc:description>
  <dc:identifier>https://zenodo.org/record/1745350</dc:identifier>
  <dc:identifier>10.5281/zenodo.1745350</dc:identifier>
  <dc:identifier>oai:zenodo.org:1745350</dc:identifier>
  <dc:relation>url:https://github.com/reconhub/incidence/tree/1.5.2</dc:relation>
  <dc:relation>doi:10.5281/zenodo.1404718</dc:relation>
  <dc:rights>info:eu-repo/semantics/openAccess</dc:rights>
  <dc:title>reconhub/incidence: Incidence version 1.5.2</dc:title>
  <dc:type>info:eu-repo/semantics/other</dc:type>
  <dc:type>software</dc:type>
</oai_dc:dc>
4,878
273
views
downloads
All versions This version
Views 4,87817
Downloads 2733
Data volume 1.4 GB15.1 MB
Unique views 4,58717
Unique downloads 2213

Share

Cite as