View source: R/mass.to.volume.R
mass.to.volume | R Documentation |
Given a specific ammount of solute calculates the volume of solvent necessary to obtain a certain final molarity concentration.
mass.to.volume(
final_concentration,
final_concentration_unit = "M",
mass,
mass_unit = "g",
MW
)
final_concentration |
Numeric value for the final concentration wanted. |
final_concentration_unit |
String to define the unit of the final concentration wanted. Available units are: "M", "mM", "uM", "nM", "pM", "fM". By default "M". |
mass |
Numeric value for the solute mass ammount. |
mass_unit |
String to define the unit of the mass. Available units are: "kg", "g", "mg", "ug", "ng". By default "g". |
MW |
Numeric value for the Molecular Weigth (MW) of the compound expressed in g/mol. |
It returns a string with the volume of solvent to use.
mass.to.volume(final_concentration = 5, mass = 10, MW = 215)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.