Here is an example code of gafs function in caret package in r. There are few inbuilt functions for gafsControl functions (eg, caretGA, rfGA). How can I use Logistic regress