Data mining techniques in R