Description Usage Arguments Value Examples
View source: R/common_molarity_related_functions.R
This function, part of a set of sub functions at the moment, calculates the grams required in a given volume to achieve a certain molarity.
1 | Mcalc_grams(M_target, vol_target, mw, sentence = F, compoundID = NULL)
|
M_target |
The molarity, given as M. Dbl. |
vol_target |
The volume, given in liters. Dbl. |
mw |
The molecular weight of the compound in question. Does not account for hydrated compounds. Dbl. |
sentence |
Return the calculation as a description? Logical |
compoundID |
If sentence == T, provide a label or the compound. String. |
Returns a string.
1 | Mcalc_grams(M_target = 1,vol_target = 0.005,mw = 84.01,sentence = T,compoundID = "NaHCO~3~")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.