Skip to content

fullRankMatrix

0.1.0Package record

Generation of Full Rank Design Matrix

1packages depend
2.6Kdownloads / year
85.6%test coverage
0/13flavors OK

Overview

About

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.

Changes in 0.1.0
  • Initial CRAN submission.

From NEWS.md in the release

Install

Health

CRAN checks
13NOTE
Check messages
NOTEDESCRIPTION meta-informationr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64

r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64

Missing dependency on R >= 4.1.0 because package code uses the pipe
  |> or function shorthand \(...) syntax added in R 4.1.0.
  File(s) using such syntax:
    ‘find_connected_components.R’

r-devel-windows-x86_64, r-oldrel-windows-x86_64, r-release-windows-x86_64

Missing dependency on R >= 4.1.0 because package code uses the pipe
  |> or function shorthand \(...) syntax added in R 4.1.0.
  File(s) using such syntax:
    'find_connected_components.R'

r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Author field differs from that derived from Authors@R
  Author:    ‘Paula Weidemueller [aut, cre, cph] (<https://orcid.org/0000-0003-3867-3131>, @PaulaH_W), Constantin Ahlmann-Eltze [aut] (<https://orcid.org/0000-0002-3762-068X>, @const_ae)’
  Authors@R: ‘Paula Weidemueller [aut, cre, cph] (ORCID: <https://orcid.org/0000-0003-3867-3131>, Twitter: @PaulaH_W), Constantin Ahlmann-Eltze [aut] (ORCID: <https://orcid.org/0000-0002-3762-068X>, Twitter: @const_ae)’

  Missing dependency on R >= 4.1.0 because package code uses the pipe
  |> or function shorthand \(...) syntax added in R 4.1.0.
  File(s) using such syntax:
    ‘find_connected_components.R’

CRAN check page ↗

Slowest check: 1.3 min · r-release-macos-x86_64
Status changes
  • NOTE13 NOTE2026-06-09
  • ERROR12 NOTE, 1 ERROR2026-06-08
  • NOTE3 OK, 11 NOTE2026-03-10
Advisories

none known

Documentation

In release 0.1.0
READMEYes · 1,258 wordsVignettesYes · 2 · dynamicNEWSYes · 67% structured · mentions 0.1.0Citation fileYes · software entry onlyWebsitenot declared in DESCRIPTION
Description cites a JSS article
Help pages
4
Examples that run
100%4 run in a plain check
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
0%

Downloads

2.6K
CRAN downloads in the past year
Rank #17,189 · ~7/day · ~215/mo
Daily download trend is not available in this view yet.
26530 days
73590 days
2.6K1 year
Compare downloads with other packages →
Also on81 r2u6 autocran

Repository

16Stars
1Forks
1Open issues
0Open PRs
1Releases
62Commits
2Commit identities
62 commits · Last activity 2024-07-04 · 0% stars, 30d · Default branch at 0.1.0.9000, ahead of CRAN 0.1.0 (checked 2026-10-18)
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
781
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2024-10-23 · 142026-07-07 · 16
PracticesBeta

2 development-tooling and community-health practices detected across 2 families in the upstream repository

Checks run against github.com/pweidemueller/fullrankmatrix on 2026-10-18.

Docs source (1)
README.Rmd
CRAN release process (1)
cran-comments.md
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
8 external dependencies (excludes base and recommended)

Installing fullRankMatrix adds no packages beyond those that come with R.

Depends (0)
none
Imports (0)
none
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
1direct
0indirect
Imports 1
Depends, Imports or LinkingTo, most downloaded first

People & History

People (2)
Author, Maintainer since 0.1.0 (2024), Copyright holder
@PaulaH_W
Author
@const_ae
Releases (1)
  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 0.1.0Latest
    2024-06-28 · current release
  • R
    R 4.4.0 released · 2024-04-24

Package metadata

First published
2024-06-28
Total releases
1 / 2 yrs
License
MIT + file LICENSE OSI
Download size
1.4 MB

Cite

Cite this package

Run in R for the authors' entry:

citation("fullRankMatrix")

The package provides a citation file, so citation() returns the authors' own entry.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for fullRankMatrix version 0.1.0 [Data set]. HJJB, LLC. Data release v2026-10-20. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-20, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy