View source: R/kinfitr_miscfuncs.R
unit_convert | R Documentation |
Convert between different units of radioactivity
unit_convert(
values,
from_units = c("GBq", "MBq", "kBq", "Bq", "mBq", "uBq", "nBq", "pBq", "GCi", "MCi",
"kCi", "Ci", "mCi", "uCi", "nCi", "pCi"),
to_units = c("GBq", "MBq", "kBq", "Bq", "mBq", "uBq", "nBq", "pBq", "GCi", "MCi",
"kCi", "Ci", "mCi", "uCi", "nCi", "pCi")
)
values |
Radioactivity values which should be converted. This can be a single value or a vector of values. |
from_units |
The units from which the radioactivity should be converted. |
to_units |
The units to which the radioactivity should be converted. |
The converted radioactivity values in the new units
Granville J Matheson, mathesong@gmail.com
unit_convert(1, "nCi", "Bq")
unit_convert(1:5, "nCi", "Bq")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.