variables function

Extract predictor and response variables for a model object.