Learn R Programming

⚠️There's a newer version (0.9.9) of this package.Take me there.

qlcMatrix (version 0.9.4)

Utility Sparse Matrix Functions for Quantitative Language Comparison

Description

Extension of the functionality of the Matrix package for using sparse matrices. Some of the functions are very general, while other are highly specific for special data format as used for quantitative language comparison (QLC).

Copy Link

Version

Install

install.packages('qlcMatrix')

Monthly Downloads

3,769

Version

0.9.4

License

GPL-3

Maintainer

Michael Cysouw

Last Published

April 27th, 2015

Functions in qlcMatrix (0.9.4)

unfold

Unfolding of block matrices (sparse matrices)
qlcMatrix-package

Utility sparse matrix functions for Quantitative Language Comparison (QLC)
rKhatriRao

`reduced' Khatri-Rao product (sparse matrices)
rowMax

Row and column extremes (sparse matrices)
WALS

The World Atlas of Language Structures (WALS)
huber

Comparative vocabulary for indigenous languages of Colombia (Huber & Reed 1992)
bibles

A selection of bible-texts
splitTable

Construct sparse matrices from a nominal matrix/dataframe
pwMatrix

Construct `part-whole' (pw) Matrices from tokenized strings
splitStrings

Construct unigram and bigram matrices from a vector of strings
sim.strings

String similarity by cosine similarity between bigram vectors
splitText

Construct sparse matrices from parallel texts
rSparseMatrix

Construct a random sparse matrix
sim.nominal

Similarity-measures for nominal variables
sim.words

Similarity-measures for words between two languages, based on co-occurrences in parallel text
splitWordlist

Construct sparse matrices from comparative wordlists (aka `Swadesh list')
corSparse

Pearson correlation between columns (sparse matrices)
assocSparse

Association between columns (sparse matrices)
cosNominal

Associations-measures for sparsely encoded nominal variables
ttMatrix

Construct a `type-token' (tt) Matrix from a vector
jMatrix

Harmonize (`join') sparse matrices
cosSparse

Cosine similarity between columns (sparse matrices)
sim.wordlist

Similarity matrices from wordlists