extractCaretTarget.formula function

Extracts the target variable from a set of arguments headed to the caret::train.formula function.