Skip to content

Ultrametric distribution of culture vectors in an extended Axelrod model of cultural dissemination

License

Notifications You must be signed in to change notification settings

stivalaa/axelrod_ultrametric

Repository files navigation

Ultrametric distribution of culture vectors in an extended Axelrod model of cultural dissemination

Ultrametric distribution of culture vectors in an extended Axelrod model of cultural dissemination

Software

Imported from https://sites.google.com/site/alexdstivala/home/ultrametric_axelrod

This software is free under the terms of the GNU General Public License. It is a modified version of the code originally written by Jens Pfau, extended to include bounded confidence, support for external initial conditions data and other methods of generating initial conditions, and parallelization using MPI (with mpi4py). It also requires the Python libraries NumPy (part of the SciPy package) and igraph, and uses code written in R to compute cophenetic correlation coefficients.

The Python code was run with NumPy version 1.7.1, SciPy version 0.12.0, igraph version 0.6 and mpi4py version 1.3.1 under Python version 2.7.5 on a cluster running CentOS 5 (Linux 2.6.32-358.18.1.el6.x86_64) with Open MPI version 1.6.5. The C++ code was compiled with gcc version 4.4.7. R version 2.15.3 was used for running R scripts.

The scripts are mostly written in R and use the following R libraries, which can be installed from the CRAN repository with the R install.packages() command: RColorBrewer, clue, doBy, ggplot2, gplots, grid, gridExtra, Hmisc, igraph, lattice, laticeExtra, methods, plyr, reshape, scales. Note that it may not be necessary to install all these libraries explicitly; some of them are dependencies of the others. The two major libraries used are ggplot2 (version 0.9.3.1) for generating plots and igraph (version 0.6.5-2) for network analysis.

Reference

If you use our software, data, or results in your research, please cite:

About

Ultrametric distribution of culture vectors in an extended Axelrod model of cultural dissemination

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published