Data construction functions
construct_data.Rd
These functions are used to construct the data from a given formula. Handles change from factor into several dummies for example. They also create reference individuals at which to evaluate the MTE and MTR (if no default is provided). For the numerical variables, take the average of the variable; for the factors, take the first level.