goldfish

GitHub release (latest by date) GitHub Release Date GitHub issues GitHub All Releases R-CMD-check Codecov test coverage CodeFactor CII Best Practices

About

This project is a joint collaboration between the Social Networks Lab at ETH Zürich and the Graduate Institute Geneva, and incorporates and supports several sub-projects.

Aims

The objective of the project is to introduce, extend, and promote the Dynamic Network Actor-Oriented Model (DyNAM) for the statistical analysis of coordination networks through time. The chief advantage of the model is that it explicitly addresses five common features of data found in political science, sociology, and other social scientific disciplines:

  1. observations are dependent,
  2. ties reflect the opportunities and preferences of both actors involved,
  3. that the creation of coordination ties is a two-sided process,
  4. that data might be available in a time-stamped format, and
  5. that processes typically differ between tie creation and dissolution (valence of ties), between different time windows (salience of ties), and between initial and repeated creation of ties (multiplicity of ties).

Installation

You can install the latest version of the goldfish package from source using remotes:

remotes::install_github("snlab-ch/goldfish", build_vignettes = TRUE)

Or by downloading and install the latest binary from the releases page.

Installing OpenMP on Mac OSX

In some cases, you may get an error that does not allow installation of goldfish from source on Mac OSX versions, including under R 4.0.0. The error may relate to compiling the parts of goldfish that are written in C++, or whether OpenMP (for parallelisation) can be found.

Many installation woes can be solved by directing R to use Homebrew installed gcc. An updated setting up instructions thanks to @timonelmer are available here.

More details can be found here (Thank you @Knieps for identifying this.). Other links that may be helpful include: - https://asieira.github.io/using-openmp-with-r-packages-in-os-x.html - https://thecoatlessprofessor.com/programming/cpp/r-compiler-tools-for-rcpp-on-macos/ - https://ryanhomer.github.io/posts/build-openmp-macos-catalina-complete

Please share feedback on which of these work and we will update the installation guide accordingly.