densify: An R package to reduce empty cells in dataframes of typological linguistic data
The R package densify provides a procedure to prune input data frames containing empty cells (or cells with values {?} or {NA}) to denser sub-matrices with fewer empty cells.The pruning process trades off a series of variably weighted concerns, including data retention, coding density (proportion of non-empty cells) and taxonomic diversity of rows (representing for example phylogenetic relations).Users can adapt the relative weights given to these concerns through various parameters so that the densification process best fits their needs.As such, the software is useful for several purposes, including the densification of sparse input matrices and the subsampling of large input matrices according to a procedure that is sensitive to taxonomic structure.
Authors
- Reinhard Furrer (ORCID: https://orcid.org/0000-0002-6319-2332)
- Anna Graff (ORCID: https://orcid.org/0000-0002-7703-3471)
- Balthasar Bickel (ORCID: https://orcid.org/0000-0002-9087-0565)
- Taras Zakharko (ORCID: https://orcid.org/0000-0001-7601-8424)
- Marc Lischka (ORCID: https://orcid.org/0009-0007-9493-2392)
Publication Details
- Journal
- The Journal of Open Source Software
- Published
- 2024-09-06
- DOI
- https://doi.org/10.21105/joss.07024
- Citations
- 2
- Primary Topic
- Natural Language Processing Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.69