Package: qlcMatrix 0.9.8

qlcMatrix: Utility Sparse Matrix Functions for Quantitative Language Comparison

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.

Authors:Michael Cysouw [aut, cre]

qlcMatrix_0.9.8.tar.gz
qlcMatrix_0.9.8.zip(r-4.5)qlcMatrix_0.9.8.zip(r-4.4)qlcMatrix_0.9.8.zip(r-4.3)
qlcMatrix_0.9.8.tgz(r-4.4-any)qlcMatrix_0.9.8.tgz(r-4.3-any)
qlcMatrix_0.9.8.tar.gz(r-4.5-noble)qlcMatrix_0.9.8.tar.gz(r-4.4-noble)
qlcMatrix_0.9.8.tgz(r-4.4-emscripten)qlcMatrix_0.9.8.tgz(r-4.3-emscripten)
qlcMatrix.pdf |qlcMatrix.html
qlcMatrix/json (API)
NEWS

# Install 'qlcMatrix' in R:
install.packages('qlcMatrix', repos = c('https://cysouw.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/cysouw/qlcmatrix/issues

Datasets:
  • bibles - A selection of bible-texts
  • huber - Comparative vocabulary for indigenous languages of Colombia
  • wals - The World Atlas of Language Structures

On CRAN:

50 exports 6 stars 2.06 score 5 dependencies 2 dependents 1 mentions 257 scripts 2.2k downloads

Last updated 3 months agofrom:d49da5a5a8. Checks:OK: 1 NOTE: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 01 2024
R-4.5-winNOTESep 01 2024
R-4.5-linuxNOTESep 01 2024
R-4.4-winNOTESep 01 2024
R-4.4-macNOTESep 01 2024
R-4.3-winNOTESep 01 2024
R-4.3-macNOTESep 01 2024

Exports:Arrayas.MatrixassocColassocRowassocSparsecolMaxcolMincorSparsecosColcosMissingcosRowcosSparsedimReddistSparseidfisqrtjcrossprodjMatrixnonenorm1norm2normLpmipoipwMatrixread.textresrKhatriRaorowMaxrowMinrSparseMatrixsim.attsim.consim.graphsim.langsim.obssim.stringssim.wordssparseArraysplitStringssplitTablesplitTextsplitWordlisttenmattjcrossprodttMatrixunfoldunfold_to_matrixunfoldBlockMatrixwpmi

Dependencies:docoptlatticeMatrixslamsparsesvd

Transforming data into sparse matrices

Rendered fromtransformingDataSparse.Rmdusingknitr::rmarkdownon Sep 01 2024.

Last update: 2024-07-03
Started: 2015-04-27

Readme and manuals

Help Manual

Help pageTopics
Utility sparse matrix functions for Quantitative Language Comparison (QLC)qlcMatrix-package qlcMatrix
Sparse Arrays ("Tensors")Array as.Matrix sparseArray
Association between columns (sparse matrices)assocSparse pmi poi res wpmi
A selection of bible-textsbibles
Pearson correlation between columns (sparse matrices)corSparse
Associations-measures for sparsely encoded nominal variablesassocCol assocNominal assocRow cosCol cosNominal cosRow
Cosine similarity between columns (sparse matrices)cosMissing cosSparse idf isqrt none norm1 norm2 normL
Dimensionality Reduction for sparse matrices, based on Cholesky decompositiondimRed
Sparse distance matrix calculationsdistSparse
Comparative vocabulary for indigenous languages of Colombia (Huber & Reed 1992)huber
Harmonize (`join') sparse matricesjcrossprod jMatrix tjcrossprod
Construct `part-whole' (pw) Matrices from tokenized stringspwMatrix
`reduced' Khatri-Rao product (sparse matrices)rKhatriRao
Row and column extremes (sparse matrices)colMax colMin rowMax rowMin
Construct a random sparse matrixrSparseMatrix
Similarity-measures for nominal variablessim.att sim.nominal sim.obs
String similarity using ngram vectorssim.strings
Similarity matrices from wordlistssim.con sim.graph sim.lang sim.wordlist
Similarity-measures for words between two languages, based on co-occurrences in parallel textsim.words
Construct ngram matrices from a vector of stringssplitStrings
Construct sparse matrices from a nominal matrix/dataframesplitTable
Construct sparse matrices from parallel textsread.text splitText
Construct sparse matrices from comparative wordlists (aka `Swadesh list')splitWordlist
Construct a `type-token' (tt) Matrix from a vectorttMatrix
Unfolding of Arraystenmat unfold unfold_to_matrix
Unfolding of block matrices (sparse matrices)unfoldBlockMatrix
The World Atlas of Language Structures (WALS)wals