knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
The goal of hypatia is to enable SQUIRE to be run on an individual basis rather than aggregate
install_github('mrc-ide/individual') library(individual)
Get parameters from SQUIRE
R0 <- 2 time_period <- 1000 tt_contact_matrix <- 0 contact_matrix_set <- squire::contact_matrices[[1]] pop <- hypatia:::get_population("Afghanistan") psq <- hypatia:::get_parameters( population = pop$n, R0 = R0, time_period = time_period, contact_matrix_set = contact_matrix_set, tt_contact_matrix = tt_contact_matrix )
MIT © Imperial College of Science, Technology and Medicine
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.