unname                 package:base                 R Documentation

_R_e_m_o_v_e `_n_a_m_e_s' _o_r `_d_i_m_n_a_m_e_s'

_D_e_s_c_r_i_p_t_i_o_n:

     Remove the `names' or `dimnames' attribute of an R object.

_U_s_a_g_e:

     unname(obj, force=FALSE)

_A_r_g_u_m_e_n_t_s:

     obj: The R object which is wanted ``nameless''

   force: logical; if true, the `dimnames' are even removed from
          `data.frame's. This argument is currently experimental and
          hence might change!

_V_a_l_u_e:

     Object as `obj' but without `names' or `dimnames'.

_E_x_a_m_p_l_e_s:

     ## Answering a question on R-help (14 Oct 1999):
     col3 <- 750+ 100* rt(1500, df = 3)
     breaks <- factor(cut(col3,breaks=360+5*(0:155)))
     str(table(breaks)) ## The names are quite larger than the data..
     barplot(unname(table(breaks)), axes= FALSE)

