O'Reilly logo
  • kantam srikanth thinks this is interesting:

trainset[,c("churn")],sizes = c(1:18)

From

Cover of Machine Learning with R Cookbook

Note

while running this code am getting subscript out of bound