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


MARC21 XML Export

<?xml version='1.0' encoding='UTF-8'?>
<record xmlns="http://www.loc.gov/MARC21/slim">
  <leader>00000nmm##2200000uu#4500</leader>
  <controlfield tag="005">20200125192257.0</controlfield>
  <controlfield tag="001">1745350</controlfield>
  <datafield tag="700" ind1=" " ind2=" ">
    <subfield code="u">Imperial College London</subfield>
    <subfield code="a">Zhian N. Kamvar</subfield>
  </datafield>
  <datafield tag="700" ind1=" " ind2=" ">
    <subfield code="u">Tsinghua University</subfield>
    <subfield code="a">Jun Cai</subfield>
  </datafield>
  <datafield tag="700" ind1=" " ind2=" ">
    <subfield code="u">Public Health England</subfield>
    <subfield code="a">Sarah Chisholm</subfield>
  </datafield>
  <datafield tag="700" ind1=" " ind2=" ">
    <subfield code="a">Rich FitzJohn</subfield>
  </datafield>
  <datafield tag="700" ind1=" " ind2=" ">
    <subfield code="a">Jakob Schumacher</subfield>
  </datafield>
  <datafield tag="700" ind1=" " ind2=" ">
    <subfield code="u">Imperial College London</subfield>
    <subfield code="a">Sangeeta Bhatia</subfield>
  </datafield>
  <datafield tag="856" ind1="4" ind2=" ">
    <subfield code="s">5048240</subfield>
    <subfield code="z">md5:e4e82480f65d2d245318ab8ee6b0dd66</subfield>
    <subfield code="u">https://zenodo.org/record/1745350/files/reconhub/incidence-1.5.2.zip</subfield>
  </datafield>
  <datafield tag="542" ind1=" " ind2=" ">
    <subfield code="l">open</subfield>
  </datafield>
  <datafield tag="260" ind1=" " ind2=" ">
    <subfield code="c">2018-11-30</subfield>
  </datafield>
  <datafield tag="909" ind1="C" ind2="O">
    <subfield code="p">software</subfield>
    <subfield code="o">oai:zenodo.org:1745350</subfield>
  </datafield>
  <datafield tag="100" ind1=" " ind2=" ">
    <subfield code="u">Imperial College London</subfield>
    <subfield code="a">Thibaut Jombart</subfield>
  </datafield>
  <datafield tag="245" ind1=" " ind2=" ">
    <subfield code="a">reconhub/incidence: Incidence version 1.5.2</subfield>
  </datafield>
  <datafield tag="540" ind1=" " ind2=" ">
    <subfield code="a">Other (Open)</subfield>
  </datafield>
  <datafield tag="650" ind1="1" ind2="7">
    <subfield code="a">cc-by</subfield>
    <subfield code="2">opendefinition.org</subfield>
  </datafield>
  <datafield tag="520" ind1=" " ind2=" ">
    <subfield code="a">&lt;p&gt;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 &amp;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):&lt;/p&gt;
&lt;pre&gt;&lt;code class="lang-r"&gt;library(&amp;quot;incidence&amp;quot;)
set.seed(2018-11-01)
dat &amp;lt;- rpois(200, 10)
me  &amp;lt;- c(&amp;quot;Mordor&amp;quot;, &amp;quot;Shire&amp;quot;, &amp;quot;Isengard&amp;quot;, &amp;quot;Eisengard&amp;quot;)
grp &amp;lt;- sample(me, 
              200,
              replace = TRUE,
              prob = c(1, 1, 1, 0.05))
i   &amp;lt;- incidence(dat, group = grp)
plot(i, show_cases = TRUE)
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code class="lang-r"&gt;i   &amp;lt;- incidence(dat, group = factor(grp, me))
plot(i, show_cases = TRUE)
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code class="lang-r"&gt;group_names(i)
#&amp;gt; [1] &amp;quot;Mordor&amp;quot;    &amp;quot;Shire&amp;quot;     &amp;quot;Isengard&amp;quot;  &amp;quot;Eisengard&amp;quot;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&amp;lt;sup&amp;gt;Created on 2018-11-30 by the [reprex package](https://reprex.tidyverse.org) (v0.2.1)&amp;lt;/sup&amp;gt;&lt;/p&gt;</subfield>
  </datafield>
  <datafield tag="773" ind1=" " ind2=" ">
    <subfield code="n">url</subfield>
    <subfield code="i">isSupplementTo</subfield>
    <subfield code="a">https://github.com/reconhub/incidence/tree/1.5.2</subfield>
  </datafield>
  <datafield tag="773" ind1=" " ind2=" ">
    <subfield code="n">doi</subfield>
    <subfield code="i">isVersionOf</subfield>
    <subfield code="a">10.5281/zenodo.1404718</subfield>
  </datafield>
  <datafield tag="024" ind1=" " ind2=" ">
    <subfield code="a">10.5281/zenodo.1745350</subfield>
    <subfield code="2">doi</subfield>
  </datafield>
  <datafield tag="980" ind1=" " ind2=" ">
    <subfield code="a">software</subfield>
  </datafield>
</record>
4,727
268
views
downloads
All versions This version
Views 4,72717
Downloads 2683
Data volume 1.4 GB15.1 MB
Unique views 4,44517
Unique downloads 2163

Share

Cite as