Integrate Area Under pH Threshold Calculates the area under the pH curve below a specified pH threshold using the trapezoidal rule. It assumes the flipped shape
Source:R/utils.R
integratepHArea.RdIntegrate Area Under pH Threshold Calculates the area under the pH curve below a specified pH threshold using the trapezoidal rule. It assumes the flipped shape
Usage
integratepHArea(
x,
y,
ph_threshold = 5.4,
time_start = 0,
time_end = 50,
method = "linear",
interpolate = TRUE,
add_support_points = FALSE,
plot = FALSE
)