In health economics it is common to use agent-based simulations for exploring epidemiological models, prevention policies, and clinical interventions, among other things. In C++ I enjoy using object-oriented design to build these agent-based models. It feels so natural. In R, however, I have yet to delve into the S4 object model, and so have instead resorted to using data frames for simple object data structures. Stochastic, agent-based models often require large cohorts and multiple trials, so finding improvements in speed is a great help. The examples listed below are inspired by comments made recently on the r-help list, to whose contributors I am very grateful.
-
Recent Posts
Recent Comments
- Thomson on Using R and clinical heuristics to explore the Heritage Health Prize: what do we gain?
- Adam Laiacano on Speeding up agent-based simulations with data frames in R
- gary on Speeding up agent-based simulations with data frames in R
- gary on Speeding up agent-based simulations with data frames in R
- Tom on Speeding up agent-based simulations with data frames in R
Archives
Categories
Meta
Blogroll
