symbol.units: Transform custom units

View source: R/symbolUnits.R

symbol.unitsR Documentation

Transform custom units

Description

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
symbol.units("pg/mL") # no letter will be transformed

r2symbols documentation built on March 31, 2023, 8:19 p.m.