Learn R Programming

adsoRptionCMF (version 0.1.1)

fit_langmuirLM1: Langmuir Isotherm Linear (Form 1) Analysis

Description

Performs linear modeling for the Langmuir adsorption isotherm using the linearized form Ce/Qe = (1/Qmax·b) + (Ce/Qmax).

Value

A list containing the results of the linear Langmuir (Form 1) model fitting, including:

  • Parameter estimates for the Langmuir model (Qmax and Kl).

  • 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

Langmuir, I. (1918) <doi:10.1021/ja01269a066> The adsorption of gases on plane surfaces of glass, mics and platinum. Journal of the American Chemical Society, 1361-1403.

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_langmuirLM1(Ce, Qe, verbose = TRUE)
fit_langmuirLM1(Ce, Qe)

Run the code above in your browser using DataLab