Description Usage Arguments Value Author(s) Examples
Given a two-column data frame, with volumes of titrant in the first column and pH, pAnalyte, pTitrant, pMetal, or solution potential in the second column, this function calculates and plots the associated first-derivative and second derivative titration curves.
1 | derivative(df, plot = TRUE, ...)
|
df |
A data frame with two columns; the first column must contain the volumes of titrant and the second column must contain values for the associated pH, pAnalyte, pTitrant, pMetal, or solution potential. A typical object to pass to this function is that created by the other functions in this package; however, the data frame can be one prepared separately, provided that it matches the structure defined above. |
plot |
Logical; if TRUE, plots the titration curve. |
... |
Additional arguments to pass to |
A list that consists of two data frames, one for the first derivative titration curve and one for the second derivative titration curve.
David T. Harvey, DePauw University. harvey@depauw.edu
1 2 3 4 | ### Derivative weak acid/strong base titration curves
ab = wa_sb()
ex16 = derivative(ab)
str(ex16)
|
List of 2
$ first_deriv :'data.frame': 951 obs. of 2 variables:
..$ x1: num [1:951] 0.029 0.0516 0.0742 0.0969 0.1196 ...
..$ y1: num [1:951] 0.443 0.442 0.442 0.441 0.44 ...
$ second_deriv:'data.frame': 950 obs. of 2 variables:
..$ x2: num [1:950] 0.0403 0.0629 0.0855 0.1082 0.131 ...
..$ y2: num [1:950] -0.0196 -0.0292 -0.0388 -0.0482 -0.0574 ...
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.