Learn R Programming

r2symbols (version 1.4)

symbol.units: Transform custom units

Description

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

Usage

symbol.units(units, error = FALSE)

Value

Transformed units with substitution of symbols with appropriate symbol hex

Arguments

units

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

error

whether to report any errors

Examples

Run this code
symbol.units("ug/mL") # u will be transformed to mu
symbol.units("pg/mL") # no letter will be transformed

Run the code above in your browser using DataLab