Description Usage Arguments Details Value Author(s) Examples
Test whether a numeric matrix has full column rank.
1 2 | is.fullrank(x)
nonEstimable(x)
|
x |
a numeric matrix or vector |
is.fullrank
is used to check the integrity of design matrices in limma, for example after subsetting operations.
nonEstimable
is used by lmFit
to report which coefficients in a linear model cannot be estimated.
is.fullrank
returns TRUE
or FALSE
.
nonEstimable
returns a character vector of names for the columns of x
which are linearly dependent on previous columns.
If x
has full column rank, then the value is NULL
.
Gordon Smyth
1 2 3 4 5 6 7 8 | # TRUE
is.fullrank(1)
is.fullrank(cbind(1,0:1))
# FALSE
is.fullrank(0)
is.fullrank(matrix(1,2,2))
nonEstimable(matrix(1,2,2))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.