Coder Social home page Coder Social logo

sempwn / cr0eso Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 2.0 367.35 MB

Bayesian SEIR model fitting to multiple facility outbreaks

Home Page: https://sempwn.github.io/cr0eso/index.html

License: MIT License

R 80.41% C++ 0.10% Stan 19.49%
r0-estimation outbreaks covid-19 bayesian-inference

cr0eso's Introduction

cr0eso

DOI

Covid r0 estimation of outbreaks (Cr0eso). R0 estimation of multiple outbreaks using an SEIR model

The package name comes from the Welsh word for "welcome"

Overview

cr0eso fits a Bayesian hierarchical SEIR (susceptible, exposed, infected, recovered) to a collection of outbreak data from different facilities.

Installation

Before installation, you will need a C++ compiler installed to compile the Stan model. If you are on a Mac or Linux, follow these instructions. If you are on Windows, follow the instructions here.

The following must return TRUE before continuing:

# install.packages("pkgbuild")
pkgbuild::has_build_tools(debug = TRUE)

Then, install the cr0eso package with:

# install.packages("remotes")
remotes::install_github("sempwn/cr0eso")

See the example in ?seir_model_fit and the vignette.

To install the package with the vignette:

remotes::install_github("sempwn/cr0eso", build_vignettes = TRUE)

and run:

browseVignettes("cr0eso")

Data

Data for facility outbreaks in BC is now included in the package, and can be found within the /data/ folder, or in the docs.

See the Changelog for any more updates to the package including new data.

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.