| nonlinear_langmuir | R Documentation |
Fits the Langmuir isotherm model using non-linear least squares (nls).
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.
Other nonlinear:
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.