Learn R Programming

SHAKTI (version 0.1.0)

Slope_Intercept: Estimation of Slope and Intercept

Description

Generates slope and intercept values from temperature-dependent lnKd data using linear regression, and the corresponding coefficient of determination (\(R^2\)) values. These coefficients form the basis for calculating the thermodynamic parameters, providing a simple and transparent bridge between experimental equilibrium measurements and thermodynamic interpretation.

Usage

Slope_Intercept(lnKd, Temp)

Value

  • Intercept: Intercept of the fitted line

  • Slope: Slope of the fitted line

  • R_square: Coefficient of determination of the fitted line

Arguments

lnKd

Natural logarithm of distribution coefficient

Temp

Temperature in Kelvin

References

Gouaich, I., Bestani, B., Bouberka, Z., Srenscek-Nazza, J., Michalkiewicz, B., Benzekri-Benallou, M., Boucherdoud, A., and Benderdouche, N. (2023). Characterization of a low-cost Eucalyptus camaldulensis leaves based activated carbon for pharmaceutical residues removal from aqueous solutions. Desalination and Water Treatment, 296, 19–31. https://doi.org/10.5004/dwt.2023.29602

Examples

Run this code
lnKd <- c(5.01, 5.02)
Temp <- c (298, 303)
my.SI<- Slope_Intercept(lnKd, Temp)

Run the code above in your browser using DataLab