# Load rmcfs library.
library(rmcfs)
# Load alizadeh dataset.
data(alizadeh)
d <- alizadeh
#Fix input data to be consistent with ARFF and ADX formats.
#It is not necessary but for some data can help to export in proper format.
d <- fix.data(d)
write.arff(d, file = paste0(tempdir(), "/alizadeh.arff"), target = "class")Run the code above in your browser using DataLab