nonlinear_langmuir | R Documentation |
The non-linear Langmuir isotherm model describes monolayer adsorption onto a surface with a finite number of identical sites. It assumes uniform adsorption energies and no interaction between adsorbed molecules.
The model is defined as:
Q = \frac{Q_{\max} \cdot K_L \cdot C_e}{1 + K_L \cdot C_e}
where Q
is the amount adsorbed, C_e
is the equilibrium concentration,
Q_{\max}
is the maximum adsorption capacity, and K_L
is the Langmuir constant.
This function fits the model using non-linear least squares (nls) regression.
nonlinear_langmuir(Ce, Qe)
Ce |
Numeric vector of equilibrium concentrations. |
Qe |
Numeric vector of amount adsorbed. |
A named list of Langmuir parameters and model details, including estimated parameters, model statistics, and a diagnostic plot.
Other nonlinear models: nonlinear_bet()
, nonlinear_freundlich()
, nonlinear_temkin()
Ce <- c(1, 2, 4, 6, 8, 10)
Qe <- c(0.9, 1.6, 2.3, 2.7, 2.9, 3.0)
result <- nonlinear_langmuir(Ce, Qe)
print(result$`Langmuir Qmax (mg/g)`)
print(result$`Langmuir KL (L/mg)`)
print(result$AIC)
print(result$`Pseudo R2`)
print(result$Plot)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.