Sorption

By Chinmay Deval in R package


An R package for predicting adsorption processes using empirical models on the laboratory adsorption experiments. Currently it contains functions for the Linear model, Langmuir model (both, linear and non linear forms), and Freundlich model (linear form).

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 hosted only via through Github.

Install devtools by running following command in your R console:

install.packages("devtools")

Now using devtools functionality you can install the Sorption package from Github. Execute following code in your R console:

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)
Posted on:
July 2, 2019
Length:
1 minute read, 153 words
Categories:
R package
Tags:
hugo-site
See Also:
The Deval in the Details Report
ET-Persistance
Viz-ERMiT