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?

Tom

______________________________________________
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