Skip to contents

Enter a unit and it will automatically be transformed to the appropriate form

Usage

symbol.units(units, error = FALSE)

Arguments

units

the desired unit e.g ug/mL,pg/mL, ab, yL

error

whether to report any errors

Value

Transformed units with substitution of symbols with appropriate symbol hex

Examples

symbol.units("ug/mL") # u will be transformed to mu
#> [1] "μg/mL"
symbol.units("pg/mL") # no letter will be transformed
#> [1] "pg/mL"