null2na               package:RpsiXML               R Documentation

_T_u_r_n_s _n_u_l_l _o_r _N_A _i_n_t_o _c_h_a_r_a_c_t_e_r "_N_A"

_D_e_s_c_r_i_p_t_i_o_n:

     The functions turns NULL or NA into character "NA"

_U_s_a_g_e:

     null2na(x)

_A_r_g_u_m_e_n_t_s:

       x: A vector 

_V_a_l_u_e:

     Either the original vector (if not NULL or logical NA) or
     character NA

_A_u_t_h_o_r(_s):

     Tony Chiang <tchiang@ebi.ac.uk>

_E_x_a_m_p_l_e_s:

     null2na(NA)
     null2na(NULL)

