Checks that the Id, SId, and DId columns of a dataframe are valid for function dmm().
dmm()
Useful links