convert_toMolar {anabel}R Documentation

Convert a unit to molar

Description

convert the value into molar.

Usage

convert_toMolar(val, unit)

Arguments

val

numeric value of the analyte concentration

unit

character string indicating the unit from which, the analyte concentration will be converted into molar.

Details

supported units are: millimolar, micromolar, nanomolar and picomolar. The name of the unit could be written, or its abbreviation such as: nanomolar (nm), micromolar (mim), picomolar (pm), or millimolar (mm). The unite in either form is case insensitive.

Value

The value of analyte concentration in molar

Examples

convert_toMolar(120, "nanomolar")
convert_toMolar(120, "nm")
convert_toMolar(120, "millimolar")
convert_toMolar(120, "mm")
convert_toMolar(120, "micromolar")
convert_toMolar(120, "mim")
convert_toMolar(120, "picomolar")
convert_toMolar(120, "pm")


[Package anabel version 3.0.1 Index]