Package: fullRankMatrix Title: Generation of Full Rank Design Matrix Version: 0.1.0.9000 Authors@R: c( person("Paula", "Weidemueller", , "paulahw3214@gmail.com", role = c("aut", "cre", "cph"), comment = c(ORCID = "0000-0003-3867-3131", Twitter = "@PaulaH_W")), person("Constantin", "Ahlmann-Eltze", , "artjom31415@googlemail.com", role = c("aut"), comment = c(ORCID = "0000-0002-3762-068X", Twitter = "@const_ae")) ) Description: 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) . License: MIT + file LICENSE Encoding: UTF-8 Roxygen: list(markdown = TRUE) RoxygenNote: 7.3.1 Suggests: knitr, rmarkdown, igraph, testthat (>= 3.0.0), WeightIt, caret, plm, spelling Config/testthat/edition: 3 VignetteBuilder: knitr URL: https://github.com/Pweidemueller/fullRankMatrix BugReports: https://github.com/Pweidemueller/fullRankMatrix/issues Language: en-US Repository: https://pweidemueller.r-universe.dev Date/Publication: 2024-07-04 13:42:36 UTC RemoteUrl: https://github.com/pweidemueller/fullrankmatrix RemoteRef: HEAD RemoteSha: ad4bc2dc58642eb7e639ee3e3d79e5dca28f4c4c NeedsCompilation: no Packaged: 2026-10-05 09:52:29 UTC; root Author: Paula Weidemueller [aut, cre, cph] (ORCID: , Twitter: @PaulaH_W), Constantin Ahlmann-Eltze [aut] (ORCID: , Twitter: @const_ae) Maintainer: Paula Weidemueller Depends: R (>= 4.1.0)