checkUnits: checkUnits - Check for the presence of units

View source: R/checkUnits.R

checkUnitsR Documentation

checkUnits - Check for the presence of units

Description

Check for the presence of physical measurement units on key columns of an RdistDf data frame.

Usage

checkUnits(ml)

Arguments

ml

An Rdistance model list produced by parseModel containing a list of parameters for the distance model.

Value

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.


Rdistance documentation built on April 12, 2025, 1:12 a.m.