Calculate Linear Model's Percent Residual Accuracy (PRA)
Source:R/dilstats.R
calculate_pra_linear.Rd
Calculate the Percent Residual Accuracy (PRA) of the Linear Model.
Usage
calculate_pra_linear(
curve_data,
conc_var,
signal_var,
dilution_data = lifecycle::deprecated()
)
Value
The Percent Residual Accuracy (PRA) of the Linear Model. More information of this value can be found in https://www.sciencedirect.com/science/article/abs/pii/S0039914018307549
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)
pra_value <- calculate_pra_linear(
curve_data,
"Concentration",
"Signal"
)
pra_value
#> [1] 66.43913