container package:Biobase R Documentation _A _L_o_c_k_a_b_l_e _L_i_s_t _S_t_r_u_c_t_u_r_e _w_i_t_h _C_o_n_s_t_r_a_i_n_t_s _o_n _C_o_n_t_e_n_t _D_e_s_c_r_i_p_t_i_o_n: Container class that specializes the list construct of R to provide content and access control _C_r_e_a_t_i_n_g _O_b_j_e_c_t_s: 'new('container', x = [list], content = [character], locked = [logical])' _S_l_o_t_s: _x list of entities that are guaranteed to share a certain property _c_o_n_t_e_n_t tag describing container contents _l_o_c_k_e_d boolean indicator of locked status. Value of TRUE implies assignments into the container are not permitted _M_e_t_h_o_d_s: Class-specific methods: '_c_o_n_t_e_n_t(_c_o_n_t_a_i_n_e_r)' returns 'content' slot of argument '_l_o_c_k_e_d(_c_o_n_t_a_i_n_e_r)' returns 'locked' slot of argument Standard methods defined for 'container': '_s_h_o_w(_c_o_n_t_a_i_n_e_r)' prints container '_l_e_n_g_t_h(_c_o_n_t_a_i_n_e_r)' returns number of elements in the container '[[(_i_n_d_e_x)' _a_n_d '[[(_i_n_d_e_x, _v_a_l_u_e)' access and replace elements in the container '[(_i_n_d_e_x)' make a subset of a container (which will itself be a container) _E_x_a_m_p_l_e_s: x1 <- new("container", x=vector("list", length=3), content="lm") lm1 <- lm(rnorm(10)~runif(10)) x1[[1]] <- lm1