makes sure that area and state are factor variables; if specified as
numeric they are changed to factor