lgeMatrix-class package:Matrix R Documentation _C_l_a_s_s "_l_g_e_M_a_t_r_i_x" _o_f _G_e_n_e_r_a_l _D_e_n_s_e _L_o_g_i_c_a_l _M_a_t_r_i_c_e_s _D_e_s_c_r_i_p_t_i_o_n: This is the class of general dense 'logical' matrices. _S_l_o_t_s: '_x': Object of class '"logical"'. The logical values that constitute the matrix, stored in column-major order. '_D_i_m','_D_i_m_n_a_m_e_s': The dimension (a length-2 '"integer"') and corresponding names (or 'NULL'), see the 'Matrix' class. '_f_a_c_t_o_r_s': Object of class '"list"'. A named list of factorizations that have been computed for the matrix. _E_x_t_e_n_d_s: Class '"ldenseMatrix"', directly. Class '"lMatrix"', by class '"ldenseMatrix"'. Class '"denseMatrix"', by class '"ldenseMatrix"'. Class '"Matrix"', by class '"ldenseMatrix"'. Class '"Matrix"', by class '"ldenseMatrix"'. _M_e_t_h_o_d_s: Currently, mainly 't()' and coercion methods (for 'as(.)'); use, e.g., 'showMethods(class="lgeMatrix")' for details. _S_e_e _A_l_s_o: Non-general logical dense matrix classes such as 'ltrMatrix', or 'lsyMatrix'; _sparse_ logical classes such as 'lgCMatrix'. _E_x_a_m_p_l_e_s: showClass("lgeMatrix") str(new("lgeMatrix")) set.seed(1) (lM <- Matrix(matrix(rnorm(28), 4,7) > 0))# a simple random lgeMatrix set.seed(11) (lC <- Matrix(matrix(rnorm(28), 4,7) > 0))# a simple random lgCMatrix as(lM, "lgCMatrix")