View source: R/fit_freundlichLM.R
fit_freundlichLM | R Documentation |
Performs linear modeling for the Freundlich adsorption isotherm using log-transformed data.
Ce |
numeric vector for equilibrium concentration |
Qe |
numeric vector for adsorbed amount |
verbose |
logical; if TRUE (default), prints summary and messages |
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.
Paul Angelo C. Manlapaz
Freundlich, H. 1907. Ueber die adsorption in loesungen. Z. Phys. Chem.57:385-470
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.