wstringapply             package:ecolitk             R Documentation

_A_p_p_l_y _a _f_u_n_c_t_i_o_n _o_n _a _w_i_n_d_o_w _s_l_i_d_i_n_g _o_n _a _s_t_r_i_n_g

_D_e_s_c_r_i_p_t_i_o_n:

     Apply a function on a window sliding on a string

_U_s_a_g_e:

     wstringapply(x, SIZE, SLIDE, FUN, ...)

_A_r_g_u_m_e_n_t_s:

       x: The string 

    SIZE: The size of the window (number of characters). 

   SLIDE: offset to move at each slide

     FUN: The function to be applied 

     ...: optional parameter for the function 'FUN' 

_D_e_t_a_i_l_s:

     Apply the function 'FUN' to substrings of 'x' of length 'SIZE'.

_V_a_l_u_e:

     A list of size 'nchar(x) - SIZE'.

_A_u_t_h_o_r(_s):

     ~~who you are~~

_E_x_a_m_p_l_e_s:

