Tag Archives: infectious diseases

Rcpp is smoking fast for agent-based models in data frames

In a previous post, I discussed different approaches to speeding up some loops in data frames. In particular, R data frames provide a simple framework for representing large cohorts of agents in stochastic epidemiological models, such as those representing disease … Continue reading

Posted in Health, Medicine, Modeling, R | Tagged , , , , , , , | 20 Comments

Grey’s Anatomy Network of Sexual Relations

This all began with an introductory presentation about social network analysis to a group of medical students.  What better way to grab their attention than with attractive, fake doctors having sex on television?  Naturally this led to the dense network … Continue reading

Posted in Health, R, Social Networks | Tagged , , , , | 10 Comments