comparable: Comarison two DGVMUnit objects

Description Usage Arguments Value Examples

Description

Checks if two DGVMUnit objects are comparable (only different in unit prefixes).

Usage

1
comparable(a, b)

Arguments

a

An DGVMUnit object.

b

An DGVMUnit object.

Value

boolean

Examples

1
2
3
x <- as.DGVMUnit("kg/m2")
y <- as.DGVMUnit("kg ha^-2")
ret <- comparable(x,y)

joergsteinkamp/DGVMUnits documentation built on May 25, 2019, 6:24 p.m.