Skip to contents

automatically convert to default units if any fit (defaults would be an option in units_options)

Usage

convert_to_preferred_units(
  x,
  defaults = get_chemunits_option("preferred_units")
)

Arguments

x

units object

defaults

default units to convert to