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


JSON-LD (schema.org) Export

{
  "description": "<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>", 
  "license": "", 
  "creator": [
    {
      "affiliation": "Imperial College London", 
      "@type": "Person", 
      "name": "Thibaut Jombart"
    }, 
    {
      "affiliation": "Imperial College London", 
      "@type": "Person", 
      "name": "Zhian N. Kamvar"
    }, 
    {
      "affiliation": "Tsinghua University", 
      "@type": "Person", 
      "name": "Jun Cai"
    }, 
    {
      "affiliation": "Public Health England", 
      "@type": "Person", 
      "name": "Sarah Chisholm"
    }, 
    {
      "affiliation": "", 
      "@type": "Person", 
      "name": "Rich FitzJohn"
    }, 
    {
      "affiliation": "", 
      "@type": "Person", 
      "name": "Jakob Schumacher"
    }, 
    {
      "affiliation": "Imperial College London", 
      "@type": "Person", 
      "name": "Sangeeta Bhatia"
    }
  ], 
  "url": "https://zenodo.org/record/1745350", 
  "codeRepository": "https://github.com/reconhub/incidence/tree/1.5.2", 
  "datePublished": "2018-11-30", 
  "version": "1.5.2", 
  "@context": "https://schema.org/", 
  "identifier": "https://doi.org/10.5281/zenodo.1745350", 
  "@id": "https://doi.org/10.5281/zenodo.1745350", 
  "@type": "SoftwareSourceCode", 
  "name": "reconhub/incidence: Incidence version 1.5.2"
}
134
48
views
downloads
All versions This version
Views 13411
Downloads 483
Data volume 253.0 MB15.1 MB
Unique views 11411
Unique downloads 223

Share

Cite as