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


DataCite XML Export

<?xml version='1.0' encoding='utf-8'?>
<resource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://datacite.org/schema/kernel-4" xsi:schemaLocation="http://datacite.org/schema/kernel-4 http://schema.datacite.org/meta/kernel-4.1/metadata.xsd">
  <identifier identifierType="DOI">10.5281/zenodo.1745350</identifier>
  <creators>
    <creator>
      <creatorName>Thibaut Jombart</creatorName>
      <affiliation>Imperial College London</affiliation>
    </creator>
    <creator>
      <creatorName>Zhian N. Kamvar</creatorName>
      <affiliation>Imperial College London</affiliation>
    </creator>
    <creator>
      <creatorName>Jun Cai</creatorName>
      <affiliation>Tsinghua University</affiliation>
    </creator>
    <creator>
      <creatorName>Sarah Chisholm</creatorName>
      <affiliation>Public Health England</affiliation>
    </creator>
    <creator>
      <creatorName>Rich FitzJohn</creatorName>
      <affiliation></affiliation>
    </creator>
    <creator>
      <creatorName>Jakob Schumacher</creatorName>
      <affiliation></affiliation>
    </creator>
    <creator>
      <creatorName>Sangeeta Bhatia</creatorName>
      <affiliation>Imperial College London</affiliation>
    </creator>
  </creators>
  <titles>
    <title>reconhub/incidence: Incidence version 1.5.2</title>
  </titles>
  <publisher>Zenodo</publisher>
  <publicationYear>2018</publicationYear>
  <dates>
    <date dateType="Issued">2018-11-30</date>
  </dates>
  <resourceType resourceTypeGeneral="Software"/>
  <alternateIdentifiers>
    <alternateIdentifier alternateIdentifierType="url">https://zenodo.org/record/1745350</alternateIdentifier>
  </alternateIdentifiers>
  <relatedIdentifiers>
    <relatedIdentifier relatedIdentifierType="URL" relationType="IsSupplementTo">https://github.com/reconhub/incidence/tree/1.5.2</relatedIdentifier>
    <relatedIdentifier relatedIdentifierType="DOI" relationType="IsVersionOf">10.5281/zenodo.1404718</relatedIdentifier>
  </relatedIdentifiers>
  <version>1.5.2</version>
  <rightsList>
    <rights rightsURI="info:eu-repo/semantics/openAccess">Open Access</rights>
  </rightsList>
  <descriptions>
    <description descriptionType="Abstract">&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;</description>
  </descriptions>
</resource>
141
48
views
downloads
All versions This version
Views 14111
Downloads 483
Data volume 253.0 MB15.1 MB
Unique views 12111
Unique downloads 223

Share

Cite as