na.flatfill               package:xcms               R Documentation

_F_i_l_l _i_n _N_A _v_a_l_u_e_s _a_t _t_h_e _e_x_t_r_e_m_e_s _o_f _a _v_e_c_t_o_r

_D_e_s_c_r_i_p_t_i_o_n:

     Extend the first and last real values in a vector to fill in any
     NA values present.

_U_s_a_g_e:

     na.flatfill(x)

_A_r_g_u_m_e_n_t_s:

       x: numeric vector with NA values

_V_a_l_u_e:

     Modified vector.

_A_u_t_h_o_r(_s):

     Colin A. Smith, csmith@scripps.edu

