is.fullrank              package:limma              R Documentation

_C_h_e_c_k _f_o_r _F_u_l_l _C_o_l_u_m_n _R_a_n_k

_D_e_s_c_r_i_p_t_i_o_n:

     Test whether a numeric matrix has full column rank.

_U_s_a_g_e:

     is.fullrank(x)
     nonEstimable(x)

_A_r_g_u_m_e_n_t_s:

       x: a numeric matrix or vector

_D_e_t_a_i_l_s:

     '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.

_V_a_l_u_e:

     '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'.

_A_u_t_h_o_r(_s):

     Gordon Smyth

_E_x_a_m_p_l_e_s:

     # 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))

