mass.to.volume: Get solvent volume to make a solution with a given amount of...

View source: R/mass.to.volume.R

mass.to.volumeR Documentation

Get solvent volume to make a solution with a given amount of a compound.

Description

Given a specific ammount of solute calculates the volume of solvent necessary to obtain a certain final molarity concentration.

Usage

mass.to.volume(
  final_concentration,
  final_concentration_unit = "M",
  mass,
  mass_unit = "g",
  MW
)

Arguments

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.

Value

It returns a string with the volume of solvent to use.

Examples

mass.to.volume(final_concentration = 5, mass = 10, MW = 215)


sebastian-gregoricchio/Rseb documentation built on May 15, 2024, 5:45 a.m.