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)

