/Sorption

R package for processing isotherm experiment data & predicting sorption processes using empirical models.

Primary LanguageRMIT LicenseMIT

Sorption

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.

Getting Started

These instructions will get you a copy of the "Sorption" up and running on your local machine.

How to Install

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")

Usage

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 

Example Usage: Parameters

Parameters for the Freundlich isotherm can be predicted using:

FreundlichParameters(test_Ceq, test_Qeq, "test.csv")

Example Usage: Plots

Freundlich isotherm can be plotted using:

FreundlichPlot(test_Ceq, test_Qeq, 0.,0.8,0.,0.9)