Add data frame conversion for control values in regress function