checkData             package:goCluster             R Documentation

_C_h_e_c_k_s _i_f _a _v_a_r_i_a_b_l_e _c_o_n_t_a_i_n_s _d_a_t_a

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

     This function exits with a warning or an error in case a given
     variable does contain data.

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

     checkData(variable, action, call, warn = FALSE)

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

variable: The variable that should be checked. 

  action: Part of the error string. 

    call: Part of the error string. 

    warn: If true, the function will not yield an error but a warning. 

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

     TRUE or FALSE in addition to a warning or an error.

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

     Gunnar Wrobel, <URL: http://www.gunnarwrobel.de>.

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

     a <- c(1,2,3)
     checkData(a, "set", "example", TRUE)

