Tools, Measures and Statistical Tests for Cultural Evolution
Convert a meaning matrix to a binary 'meaning-feature-present' matrix.
Check or fix a distance matrix.
Count occurences of all possible substrings in one more strings.
Enumerate meaning combinations.
Enumerate all substrings of a string.
Pairwise Hamming distances between matrix rows.
Perform one or more Mantel permutation tests.
Compute the normalised Levenshtein distances between strings.
Calculate the bag-of-characters similarity between strings.
Page test for monotonicity of ranks.
Read a distance matrix from a file or data frame.
Extend a matrix by repetition of elements.
Split strings into their constituent segments.
Permute the rows and columns of a square matrix.
Spike's segmentation and measure of additive compositionality.
Find a segmentation that maximises the overall string coverage across ...
Create a vector of 'temperature' colors (from blue over white to red).
Make a meaning distance function vectorisable.
Provides tools for measuring the compositionality of signalling systems (in particular the information-theoretic measure due to Spike (2016) <http://hdl.handle.net/1842/25930> and the Mantel test for distance matrix correlation (after Dietz 1983) <doi:10.1093/sysbio/32.1.21>), functions for computing string and meaning distance matrices as well as an implementation of the Page test for monotonicity of ranks (Page 1963) <doi:10.1080/01621459.1963.10500843> with exact p-values up to k = 22.