Weka_converters            package:RWeka            R Documentation

_R/_W_e_k_a _F_i_l_e _L_o_a_d_e_r_s _a_n_d _S_a_v_e_r_s

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

     R interfaces to Weka file loaders and savers.

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

     C45Loader(file)
     XRFFLoader(file)
     C45Saver(x, file, control = NULL)
     XRFFSaver(x, file, control = NULL)

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

    file: a non-empty character string naming a file to read from or
          write to.

       x: the data to be written, preferably a matrix or data frame. If
          not, coercion to a data frame is attempted.

 control: an object of class 'Weka_control', or a character vector of
          control options, or 'NULL' (default). Available options can
          be obtained on-line using the Weka Option Wizard 'WOW', or
          the Weka documentation.

_D_e_t_a_i_l_s:

     'C45Loader' and 'C45Saver' use the format employed by the C4.5
     algorithm/software, where data is stored in two separate '.names'
     and '.data' files.

     'XRFFLoader' and 'XRFFSaver' handle XRFF (eXtensible
     attribute-Relation File Format, an XML-based extension of Weka's
     native Attribute-Relation File Format) files.

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

     Invisibly 'NULL' for the savers.

     A data frame containing the data from the given file for the
     loaders.

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

     'read.arff', 'write.arff'.

