Description Usage Arguments Value Examples
Creates an error df at multiple inaccuracies, with multiple Rmin/Rmax/delta/pKa parameters
1 | create_error_df_pH_multiple(inaccuracies, pHmin, pHmax, param_df, by = 0.01)
|
inaccuracies |
A vector of inaccuracies (e.g. 0.02 for 2% error), always relative |
pHmin |
The minimum pH for which to record error |
pHmax |
The maximum pH for which to record error |
param_df |
A dataframe containing a list of sensor parameters, with these columns: 'name': An identifier for this sensor 'Rmin': the minimum possible ratiometric fluorescence for this sensor 'Rmax': the maximum possible ratiometric fluorescence for this sensor 'delta': the ratiometric fluorescence in the first wavelength for this sensor 'pKa': this sensor's midpoint/pKa |
by |
(optional, default: 0.01) The granularity of the error tableāe.g., by = 0.01 would record 275 and 275.01, etc. |
A dataframe of errors with columns: 'Name': this sensor name 'pH': the pH 'Rmin': the minimum possible ratiometric fluorescence for this sensor 'Rmax': the maximum possible ratiometric fluorescence for this sensor 'Error': the error in this pH 'Inaccuracy': The inaccuracy of the measurements (relative to R).
1 2 3 4 5 6 7 8 9 10 | create_error_df_pH_multiple(
c(0.01, 0.02), 2, 10,
data.frame(
"Rmin" = c(1, 2),
"Rmax" = c(5, 6),
"delta" = c(0.2, 1.2),
"name" = c("normal", "plusOne"),
"pKa" = c(7, 8)
)
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.