rt2numeric | R Documentation |
These vectorised functions convert retention times from a numeric
in seconds to/from a character as "mm:ss". rt2character()
performs the numeric to character conversion while rt2numeric()
performs the character to numeric conversion. formatRt()
does
one of the other depending on the input type.
rt2numeric(rt)
rt2character(rt)
formatRt(rt)
rt |
A vector of retention times of length > 1. Either a
|
A reformatted retention time.
Laurent Gatto
## rt2numeric
rt2numeric("25:24")
rt2numeric(c("25:24", "25:25", "25:26"))
## rt2character
rt2character(1524)
rt2character(1)
rt2character(1:10)
## formatRt
formatRt(1524)
formatRt(1)
formatRt(1:10)
formatRt("25:24")
formatRt(c("25:24", "25:25", "25:26"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.