split X and y vector parameters in R package to be more in line with other machine learning R packages