Learn R Programming

Rdistance (version 4.0.5)

checkUnits: 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)

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.

Arguments

ml

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