Page test for monotonicity of ordered ranks

page.test page.L page.compute.exact

Page test for monotonicity of ranks.

Tests for compositionality of signalling systems

sm.compositionality sm.segmentation

Spike's measure of additive compositionality.

ssm.compositionality ssm.segmentation

Find a segmentation that maximises the overall coverage of all signals.

mantel.test mantel.test.default mantel.test.formula mantel.test.list plot.mantel

Perform one or more Mantel permutation tests.

Edit distances and string manipulation

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

check.dist

Check or fix a distance matrix.

read.dist

Read a distance matrix from a file or data frame.

Misc functions

pvalue.str

Convert p-values into strings with inequalities.

rep.matrix

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' (from blue over white to red) colors.