R package for predicting sorption processes using empirical models. Currently contains functions for the Linear, Langmuir (linear and non-linear forms), and Freundlich (linear form) models.
These instructions will get you a copy of the "Sorption" up and running on your local machine.
Currently, the package is available only through devtools.
Install devtools by running following command in your R console:
install.packages("devtools")
Now you can install the Sorption package from Github using devtools as:
devtools::install_github("devalc/Sorption")
Once installed the package can be loaded to the system using:
library(Sorption")
This will also load test data vectors which can be accessed using:
test_Ceq , test_Qeq
Parameters for the Freundlich isotherm can be predicted using:
FreundlichParameters(test_Ceq, test_Qeq, "test.csv")
Freundlich isotherm can be plotted using:
FreundlichPlot(test_Ceq, test_Qeq, 0.,0.8,0.,0.9)