lennon              package:wavethresh              R Documentation

_I_m_a_g_e _o_f _J_o_h_n _L_e_n_n_o_n

_D_e_s_c_r_i_p_t_i_o_n:

     The 'lennon' matrix has 256 rows and 256 columns and integer
     values in '0:192' which are _inverted_ image gray scales, i.e., 0
     means white and 192 is dark. There are a few dark speckles on the
     image.

     John Lennon (19xx-19xx) was _the_ composer/leader of the legendary
     Beatles.

_A_u_t_h_o_r(_s):

     R format and 8bit packing by Martin Maechler

_S_o_u_r_c_e:

     From Guy Nason, G.P.Nason@bristol.ac.uk

_E_x_a_m_p_l_e_s:

     data(lennon)
     str(lennon)

     tlennon <- table(lennon)
     plot(names(tlennon), sqrt(tlennon), type = "h",
          ylab = "tlennon __ sqrt scaled", yaxt = "n",
          main = "Gray value distribution of `Lennon'")
     atl <- pretty(tlennon, 8)
     axis(2, at=sqrt(atl), labels = formatC(atl,wid=1), las=2)

     image(lennon, zlim = c(0, 192), col = gray(127:0/128))# white to dark
     image(lennon, zlim = c(-10, 240), col = gray(127:0/128))

