Page test for monotonicity of ranks

page.test() page.L() page.compute.exact()

Page test for monotonicity of ranks.

Analysing compositional signalling systems

sm.compositionality() sm.segmentation()

Spike's segmentation and measure of additive compositionality.

ssm.compositionality() ssm.segmentation()

Find a segmentation that maximises the overall string coverage across all signals.

mantel.test() plot(<mantel>)

Perform one or more Mantel permutation tests.

String manipulation and edit distance calculation

normalisedlevenshteindists()

Compute the normalised Levenshtein distances between strings.

orderinsensitivedists()

Calculate the bag-of-characters similarity between strings.

segment.string() segment.counts()

Split strings into their constituent segments.

enumerate.substrings()

Enumerate all substrings of a string.

count.substring.occurrences()

Count occurences of all possible substrings in one more strings.

Meaning distances and meaning matrix manipulation

binaryfeaturematrix()

Convert a meaning matrix to a binary 'meaning-feature-present' matrix.

enumerate.meaningcombinations()

Enumerate meaning combinations.

hammingdists()

Pairwise Hamming distances between matrix rows.

wrap.meaningdistfunction()

Make a meaning distance function vectorisable.

Distance matrices

Functions for creating and manipulating distance matrices of class dist.

check.dist()

Check or fix a distance matrix.

read.dist()

Read a distance matrix from a file or data frame.

Misc functions

repmatrix()

Extend a matrix by repetition of elements.

shuffle.locations()

Permute the rows and columns of a square matrix.

temperature.colors()

Create a vector of 'temperature' colors (from blue over white to red).