powered by
This function uses modelLookup from caret to ensure the list of methods supplied by the user are all models caret can fit.
methodCheck(x)
a list of user-supplied tuning parameters and methods