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: [EMAIL PROTECTED]
Homepage: 
http://webrum.uni-mannheim.de/sowi/elff
http://www.sowi.uni-mannheim.de/lspwivs/

______________________________________________
R-help@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.

Reply via email to