Support for Function model.frame.default()

USAGE:

main.model(x, contrasts, funs) 

This is support for the function model.frame.default(). It is not intended to be called directly by users.