Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

ensure_full_rank

Ensure a Design Matrix has Full (Column) Rank


Description

Determine and drop redundant columns using the qr decomposition.

Usage

ensure_full_rank(X, tol = 1e-07, silent = FALSE, test.ans = FALSE)

Arguments

X

a design matrix as produced by model.matrix.

tol

qr tolerance.

silent

throw message if columns are dropped from X? Default is FALSE.

test.ans

Test if the resulting/returned matrix has full rank? Default is FALSE.

Value

A design matrix in which redundant columns are dropped


lmerTest

Tests in Linear Mixed Effects Models

v3.1-3
GPL (>= 2)
Authors
Alexandra Kuznetsova [aut], Per Bruun Brockhoff [aut, ths], Rune Haubo Bojesen Christensen [aut, cre], Sofie Pødenphant Jensen [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.