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

