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.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'))

Peer review:

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

On CRAN:

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

Last updated 5 months agofrom:ad4bc2dc58. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 25 2024
R-4.5-winOKOct 25 2024
R-4.5-linuxOKOct 25 2024
R-4.4-winOKOct 25 2024
R-4.4-macOKOct 25 2024
R-4.3-winOKOct 25 2024
R-4.3-macOKOct 25 2024

Exports:find_connected_componentsfind_linear_dependent_columnsmake_full_rank_matrixvalidate_column_names

Dependencies:

fullRankMatrix - Comparison to other packages

Rendered fromfullrankmat-comparison.Rmdusingknitr::rmarkdownon Oct 25 2024.

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

fullRankMatrix - Generation of Full Rank Design Matrix

Rendered fromfullrankmat-example.Rmdusingknitr::rmarkdownon Oct 25 2024.

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