Description
units method for MAgPIE objects to update the unit of the object
Usage
# S3 method for magpie
units(x) <- value
Arguments
value
object of class units or character of length one coercible to class units via as_units
Value
MAgPIE object converted to given unit (if possible)