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


Citation Style Language JSON Export

{
  "publisher": "Zenodo", 
  "DOI": "10.5281/zenodo.1745350", 
  "title": "reconhub/incidence: Incidence version 1.5.2", 
  "issued": {
    "date-parts": [
      [
        2018, 
        11, 
        30
      ]
    ]
  }, 
  "abstract": "<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 &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):</p>\n<pre><code class=\"lang-r\">library(&quot;incidence&quot;)\nset.seed(2018-11-01)\ndat &lt;- rpois(200, 10)\nme  &lt;- c(&quot;Mordor&quot;, &quot;Shire&quot;, &quot;Isengard&quot;, &quot;Eisengard&quot;)\ngrp &lt;- sample(me, \n              200,\n              replace = TRUE,\n              prob = c(1, 1, 1, 0.05))\ni   &lt;- incidence(dat, group = grp)\nplot(i, show_cases = TRUE)\n</code></pre>\n<p></p>\n<pre><code class=\"lang-r\">i   &lt;- incidence(dat, group = factor(grp, me))\nplot(i, show_cases = TRUE)\n</code></pre>\n<p></p>\n<pre><code class=\"lang-r\">group_names(i)\n#&gt; [1] &quot;Mordor&quot;    &quot;Shire&quot;     &quot;Isengard&quot;  &quot;Eisengard&quot;\n</code></pre>\n<p>&lt;sup&gt;Created on 2018-11-30 by the [reprex package](https://reprex.tidyverse.org) (v0.2.1)&lt;/sup&gt;</p>", 
  "author": [
    {
      "family": "Thibaut Jombart"
    }, 
    {
      "family": "Zhian N. Kamvar"
    }, 
    {
      "family": "Jun Cai"
    }, 
    {
      "family": "Sarah Chisholm"
    }, 
    {
      "family": "Rich FitzJohn"
    }, 
    {
      "family": "Jakob Schumacher"
    }, 
    {
      "family": "Sangeeta Bhatia"
    }
  ], 
  "version": "1.5.2", 
  "type": "article", 
  "id": "1745350"
}
4,572
265
views
downloads
All versions This version
Views 4,57217
Downloads 2653
Data volume 1.4 GB15.1 MB
Unique views 4,29917
Unique downloads 2133

Share

Cite as