[R] Agent-based social simulation and R

Martin Elff elff at sowi.uni-mannheim.de
Fri Nov 7 21:59:37 CET 2008


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.

Best,
Martin

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

Phone: ++49-621-181-2093
Fax: ++49-621-181-2099
E-Mail: elff at sowi.uni-mannheim.de
Homepage: 
http://webrum.uni-mannheim.de/sowi/elff
http://www.sowi.uni-mannheim.de/lspwivs/



More information about the R-help mailing list