Learn R Programming

Functions for Generating and Plotting Titration Curves

Gathered here are functions for generating and plotting normal, first derivative, and second derivative titration curves for acid-base titrations, complexation titrations, redox titrations, and precipitation titrations.

All functions for normal titration curves use the general approach outlined in Principles of Quantitative Chemical Analysis by Robert de Levie (McGraw-Hill, 1997) in which a single master equation is used to calculate the progress of a titration. Each function returns a two-column data frame with volumes of titrant in the first column and, depending on the type of titration, values for pH, pMetal, pAnalyte, pTitrant, or solution potential in the second column. By default, each function returns a plot of the titration curve with options to add a vertical line at the equivalence point and/or to overlay two or more titration curves; automatic plotting can be disabled. An additional function is included to construct first derivative and second derivative titration curves using the output from the other functions.

See the package vignette for a more detailed description and examples.

To install package from Github using R, use the following commands:

install.packages("devtools")
library("devtools")
install_github(repo = "dtharvey/titrationCurves")
library("titrationCurves")

Copy Link

Version

Install

install.packages('titrationCurves')

Monthly Downloads

133

Version

0.1.0

License

GPL-2

Maintainer

David Harvey

Last Published

February 10th, 2016

Functions in titrationCurves (0.1.0)

wa_sb

Titration Curve for a Weak Acid
sb_sa

Titration Curve for a Strong Base
ppt_mixture

Precipitation Titration Curve: Mixture of Analytes
ppt_titrant

Precipitation Titration Curve: Monitoring pTitrant
wamix_sb

Titration Curve for Weak Acid Mixture
diwb_sa

Titration Curve for Diprotic Weak Base
wb_sa

Titration Curve for a Weak Base
redox_titration

Redox Titration Curve
metal_edta

Complexation Titration Curve
sa_sb

Titration Curve for a Strong Acid
ppt_analyte

Precipitation Titration Curve: Monitoring pAnalyte
diwa_sb

Titration Curve for Diprotic Weak Acid
triwa_sb

Titration Curve for Triprotic Weak Acid
wbmix_sa

Titration Curve for Weak Base Mixture
triwb_sa

Titration Curve for a Triprotic Weak Base
derivative

Derivative Titration Curves