Calculate the concavity of the Quadratic Model.
Usage
calculate_concavity(
curve_data,
conc_var,
signal_var,
dilution_data = lifecycle::deprecated()
)
Examples
concentration <- c(10, 20, 40, 60, 80, 100)
signal <- c(22561, 31178, 39981, 48390, 52171, 53410)
curve_data <- data.frame(Concentration = concentration,
Signal = signal)
concavity_value <- calculate_concavity(
curve_data,
"Concentration",
"Signal"
)
concavity_value
#> [1] -4.089199