Binomial Tests           package:wombsoft           R Documentation

_T_e_s_t _f_o_r _b_o_u_n_d_a_r_i_e_s _u_s_i_n_g _t_h_e _b_i_n_o_m_i_a_l _t_e_s_t

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

     These functions take the value of the CandidateBoundaries
     functions as input, and test to see if the number of candidate
     boundary elements at each point of the grid is significant with
     regards to the binomial distribution. The pvalue is chosen by the
     user. The resulting matrices of the boundaries and their
     directions are written in text files. And a map is also produced,
     showing the boundaries in grey.

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

     BinomialTestDominant(data, cbe, pvalue = 0.05, output_bounds = "bounds.txt", output_dir = "direction.txt")
     BinomialTestCodominant(data, cbe, pvalue = 0.05, output_bounds = "bounds.txt", output_dir = "direction.txt")
     BinomialTestContingency(data, cbe, pvalue = 0.05, output_bounds = "bounds.txt", output_dir = "direction.txt")

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

    data: the list of the six items provided by the Data and the Mirror
          functions.

     cbe: the candidate boundary elements, results of the functions
          CandidateBoundaries.

  pvalue: pvalue of the binomial test. Default value is 0.05.

output_bounds, output_dir: file names for writing the two result
          matrices. Default values are "bounds.txt" and "direction.txt"
          in the current directory.

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

     none

_S_e_e _A_l_s_o:

     'Data' and 'CandidateBoundaries' for the format of the data and
     the cbe variables.

