checkUnits function

checkUnits - Check for the presence of units

checkUnits - Check for the presence of units

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.

  • Maintainer: Trent McDonald
  • License: GNU General Public License
  • Last published: 2025-04-10