Re: [R] Agent-based social simulation and R

From: Martin Elff <>
Date: Fri, 07 Nov 2008 21:59:37 +0100

On Friday 07 November 2008 (19:45:04), you wrote:
> Martin Elff wrote:
> > Hi Tom,
> >
> > my package 'memisc' contains a sort of an infrastructure for doing
> > simulations. As a fun exercise I also used it to create a 'toy' agent
> > based simulation of Schelling's neighbourhood model. Although it is not a
> > serious application, at least it shows that agent based simulation is
> > possible in R.
> >
> > Just run 'demo(schelling)' after loading 'memisc'.
> Interesting. I'll have to look trough the code. How far away do the
> agents see? Anything beyond their immidiate neighbors?

In the demo, dissatisfied agents jump at random to free places. This puts the neighborhood model to the 'hardest' test. Yet the demo code also contains some other possibilities.


Dr. Martin Elff
Department of Social Sciences
University of Mannheim
A5, Room 328
68131 Mannheim

Phone: ++49-621-181-2093
Fax: ++49-621-181-2099

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Fri 07 Nov 2008 - 21:03:42 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 07 Nov 2008 - 21:30:24 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive