contactmatrix provides standard classes and methods to work with social contact matrices in R.
This is an attempt at providing a common framework for social contact data in R, to facilitate interoperability between different data sources and analysis tools.
It results from the collaboration between multiple stakeholders:
- the ‘Social Contact Data’ Zenodo community maintainers and curators
- the conmat R package maintainers
- the contactdata R package maintainers
- the socialmixr R package maintainers
You can install the development version of contactmatrix from GitHub with:
# install.packages("pak")
pak::pak("socialcontactdata/contactmatrix")
This package is currently experimental, as defined by the tidyverse lifecycle. This means that it is made available so people can try it out and provide feedback, but comes with no promises for long term stability.
Contributions are welcome via pull requests.
Please note that the contactmatrix project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.