Giter Site home page Giter Site logo

covidm's Introduction

Covidm Package

This repository provides the backend for the LSHTM SEI3R model, found at this repository, as an R package. This is an early work in progress, please report any issues.

System Requirements

  • The GNU GSL library (e.g. libgsl0-dev on Debian or Ubuntu)
  • Rcpp

Installation

You will first need to install the devtools package with:

install.packages("devtools")

After that, you an install the covidm package with:

devtools::install_github("M4rkD/covidm")

Once the installation completes, you can load (and attach) the package with:

library(covidm)

Exported functions

Currently, only functions and data sets used by the UK.R script from the LSHTM covid-uk repository are export by this library, despite more functions being available internally. If you require more functions exported, please open an issue and I’ll be happy to export them. The intention of this approach is to only export functions which are useful.

UK.R Script

The UK.R script is included in the repository, but not the installed package, for reference. The changes necessary to use covidm as a package have been made to the UK.R script. Note however that the script has been modified to hardcode only a single iteration of a single analysis, for two days, for demonstration purposes only. Note in particular, the file for age varying symptomatic rate has been changed.

Running on Windows or Mac

Currently, this is not tested on Windows. If you still wish to go ahead, you should do so with gsl version 2.4.

If you’re interested in working on Windows, please raise an issue.

The Mac installation has not yet been tested, but hopefully will be tested soon.

covidm's People

Contributors

adamkucharski avatar nicholasdavies avatar sje30 avatar

Watchers

 avatar

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.