Check for the presence of physical measurement units on key columns of an RdistDf data frame.
checkUnits(ml)
Arguments
ml: An Rdistance model list produced by parseModel containing a list of parameters for the distance model.
Returns
The input ml list, with units of various quantities converted to common units. If a check fails, for example, a quantity does not have units, an error is thrown.