blockDiag               package:limma               R Documentation

_B_l_o_c_k _D_i_a_g_o_n_a_l _M_a_t_r_i_x

_D_e_s_c_r_i_p_t_i_o_n:

     Form a block diagonal matrix from the given blocks.

_U_s_a_g_e:

     blockDiag(...)

_A_r_g_u_m_e_n_t_s:

     ...: numeric matrices

_V_a_l_u_e:

     A block diagonal matrix with dimensions equal to the sum of the
     input dimensions

_A_u_t_h_o_r(_s):

     Gordon Smyth

_S_e_e _A_l_s_o:

     10.Other

_E_x_a_m_p_l_e_s:

     a <- matrix(1,3,2)
     b <- matrix(2,2,2)
     blockDiag(a,b)

