Package: fullRankMatrix 0.1.0.9000

Paula Weidemueller

fullRankMatrix: Generation of Full Rank Design Matrix

Creates a full rank matrix out of a given matrix. The intended use is for one-hot encoded design matrices that should be used in linear models to ensure that significant associations can be correctly interpreted. However, 'fullRankMatrix' can be applied to any matrix to make it full rank. It removes columns with only 0's, merges duplicated columns and discovers linearly dependent columns and replaces them with linearly independent columns that span the space of the original columns. Columns are renamed to reflect those modifications. This results in a full rank matrix that can be used as a design matrix in linear models. The algorithm and some functions are inspired by Kuhn, M. (2008) <doi:10.18637/jss.v028.i05>.

Authors:Paula Weidemueller [aut, cre, cph], Constantin Ahlmann-Eltze [aut]

fullRankMatrix_0.1.0.9000.tar.gz
fullRankMatrix_0.1.0.9000.zip(r-4.5)fullRankMatrix_0.1.0.9000.zip(r-4.4)fullRankMatrix_0.1.0.9000.zip(r-4.3)
fullRankMatrix_0.1.0.9000.tgz(r-4.5-any)fullRankMatrix_0.1.0.9000.tgz(r-4.4-any)fullRankMatrix_0.1.0.9000.tgz(r-4.3-any)
fullRankMatrix_0.1.0.9000.tar.gz(r-4.5-noble)fullRankMatrix_0.1.0.9000.tar.gz(r-4.4-noble)
fullRankMatrix_0.1.0.9000.tgz(r-4.4-emscripten)fullRankMatrix_0.1.0.9000.tgz(r-4.3-emscripten)
fullRankMatrix.pdf |fullRankMatrix.html
fullRankMatrix/json (API)
NEWS

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

Bug tracker:https://github.com/pweidemueller/fullrankmatrix/issues

On CRAN:

Conda-Forge:

5.62 score 14 stars 6 scripts 179 downloads 4 exports 0 dependencies

Last updated 8 months agofrom:ad4bc2dc58. Checks:5 OK, 3 NOTE. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKFeb 25 2025
R-4.5-winNOTEFeb 25 2025
R-4.5-macNOTEFeb 25 2025
R-4.5-linuxNOTEFeb 25 2025
R-4.4-winOKFeb 25 2025
R-4.4-macOKFeb 25 2025
R-4.3-winOKFeb 25 2025
R-4.3-macOKFeb 25 2025

Exports:find_connected_componentsfind_linear_dependent_columnsmake_full_rank_matrixvalidate_column_names

Dependencies:

fullRankMatrix - Comparison to other packages

Rendered fromfullrankmat-comparison.Rmdusingknitr::rmarkdownon Feb 25 2025.

Last update: 2024-07-04
Started: 2024-06-26

fullRankMatrix - Generation of Full Rank Design Matrix

Rendered fromfullrankmat-example.Rmdusingknitr::rmarkdownon Feb 25 2025.

Last update: 2024-06-26
Started: 2024-06-26

Readme and manuals

Help Manual

Help pageTopics
Find connected components in a graphfind_connected_components
Find linear dependent columns in a design matrixfind_linear_dependent_columns
Create a full rank matrixmake_full_rank_matrix
Validate Column Namesvalidate_column_names