HTMLstem               package:R2HTML               R Documentation

_I_n_s_e_r_t _a _s_t_e_m-_a_n_d-_l_e_a_f _p_l_o_t _i_n _t_h_e _H_T_M_L _o_u_t_p_u_t

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

     Insert a stem-and-leaf plot in the HTML output.

_U_s_a_g_e:

     HTMLstem(x, file = .HTML.file, append = TRUE, ...)

_A_r_g_u_m_e_n_t_s:

       x: a numeric vector.

    file: the target HTML file  

  append: logical. If 'TRUE' output will be appended to 'file';
          otherwise, it will overwrite the contents of 'file'

     ...: any other argument that may be passed to 'stem', such as
          scale,...

_D_e_t_a_i_l_s:

     As 'stem' internal function does not return anything but directly
     print to console, there is no way to automatically export it to
     the HTML output. Thus, 'HTMLstem' simply captures the output and
     write it to the HTML file. When using the package in a interactive
     way, you should call 'HTMLstem'.

_V_a_l_u_e:

     no value returned.

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

     Eric Lecoutre

_S_e_e _A_l_s_o:

     'stem','HTML'

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

             data(islands)
             tmpfic=paste(tempfile(),"html",sep=".")
             HTMLstem(log10(islands),tmpfic)
             cat("\n stem-and-leaf writen to:", tmpfic,"\n")

