cdModel now accepts a data.frame as an argument.