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

From: Martin Elff <elff_at_sowi.uni-mannheim.de>
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.

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/

______________________________________________
R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
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 https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive