Learn R Programming

adsoRptionCMF (version 0.1.1)

fit_freundlichLM: Freundlich Isotherm Linear Analysis

Description

Performs linear modeling for the Freundlich adsorption isotherm using log-transformed data.

Value

A list containing the results of the linear Freundlich model fitting, including:

  • Parameter estimates for the Freundlich model (KF and n).

  • Fit statistics such as Akaike Information Criterion (AIC), Bayesian Information Criterion (BIC), and R-squared.

  • Error metrics including Root Mean Square Error (RMSE), Mean Absolute Error (MAE), Mean Squared Error (MSE), Relative Absolute Error (RAE), and standard error of estimates.

  • A model fit plot with bootstrapped 95

  • A residual plot for diagnostic assessment of model performance.

Arguments

Ce

numeric vector for equilibrium concentration

Qe

numeric vector for adsorbed amount

verbose

logical; if TRUE (default), prints summary and messages

Author

Paul Angelo C. Manlapaz

References

Freundlich, H. 1907. Ueber die adsorption in loesungen. Z. Phys. Chem.57:385-470

Examples

Run this code
Ce <- c(0.01353, 0.04648, 0.13239, 0.27714, 0.41600, 0.63607, 0.80435, 1.10327, 1.58223)
Qe <- c(0.03409, 0.06025, 0.10622, 0.12842, 0.15299, 0.15379, 0.15735, 0.15735, 0.16607)
fit_freundlichLM(Ce, Qe, verbose = TRUE)
fit_freundlichLM(Ce, Qe)

Run the code above in your browser using DataLab