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:
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')) |
Bug tracker:https://github.com/pweidemueller/fullrankmatrix/issues
Last updated 4 months agofrom:ad4bc2dc58. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Oct 25 2024 |
R-4.5-win | OK | Oct 25 2024 |
R-4.5-linux | OK | Oct 25 2024 |
R-4.4-win | OK | Oct 25 2024 |
R-4.4-mac | OK | Oct 25 2024 |
R-4.3-win | OK | Oct 25 2024 |
R-4.3-mac | OK | Oct 25 2024 |
Exports:find_connected_componentsfind_linear_dependent_columnsmake_full_rank_matrixvalidate_column_names
Dependencies:
fullRankMatrix - Comparison to other packages
Rendered fromfullrankmat-comparison.Rmd
usingknitr::rmarkdown
on Oct 25 2024.Last update: 2024-07-04
Started: 2024-06-26
fullRankMatrix - Generation of Full Rank Design Matrix
Rendered fromfullrankmat-example.Rmd
usingknitr::rmarkdown
on Oct 25 2024.Last update: 2024-06-26
Started: 2024-06-26
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Find connected components in a graph | find_connected_components |
Find linear dependent columns in a design matrix | find_linear_dependent_columns |
Create a full rank matrix | make_full_rank_matrix |
Validate Column Names | validate_column_names |