Giter Club home page Giter Club logo

tsir's Introduction

Build Status

tsiR: An R package for time-series Susceptible-Infected-Recovered models of epidemics

Information regarding this package and a short tutorial can be found here: http://journals.plos.org/plosone/article?id=10.1371/journal.pone.0185528

If you've found the package useful in your research, I ask that you cite the above PLOS ONE paper.

This package can be installed via CRAN. Updates to the package post the PLOS ONE paper will follow below as they occur.

Note : 03/15/2019

This warning message was added to V.0.4.1 but worth adding here as well -- if you find very unreasonable reporting rates along either endpoints or in highly variable epidemic regions using a gaussian regression, it may be worth reducing 'sigmamax' in either runtsir or estpars away from the default of 3 close to 0.5 or so.

Update V.0.4.1 : Minor update 01/29/2019

The tsiR package has been updated to include further warning messages, bug fixes, and further annotations.

Update V.0.4.0 : Lyapunov Analysis 08/20/2018

The tsiR package has been updated to include Global and Local Lyapunov Exponents. You can learn more and find examples of how to use this function for the London data by typing ?TSIR_LE ?TSIR_LLE and ?plotLLE in the R console. This updateis now on CRAN.

tsir's People

Contributors

adbecker avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

tsir's Issues

Error: Either ymin or ymax must be given as an aesthetic. in plotres(LondonRes)

I am trying your example in the documentation and while running the following code:

library(tsiR)
LondonMeas <- twentymeas[["London"]]

LondonRes <- runtsir(data=LondonMeas, IP = 2,
                     xreg = 'cumcases', regtype='gaussian',
                     alpha = NULL, sbar = NULL,family = 'gaussian', link = 'identity', method = 'negbin', nsim = 100)
plotres(LondonRes)

only first four plot is published and I get this error:

plotres(LondonRes)
Error: Either ymin or ymax must be given as an aesthetic.
Run rlang::last_error() to see where the error occurred.
In addition: Warning message:
Ignoring unknown aesthetics: fill

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.