idsummary {PUPAK}R Documentation

Internal Diffusion Models Summary

Description

Summarized results of parameter and error values collected from internal diffusion models, namely: Boyd Internal Diffusion, Crank, and Weber and Morris

Usage

idsummary(t, qt, qinf, sort.by)

Arguments

t

the numerical value for contact time

qt

the numerical value for the amount adsorbed at time t

qinf

the numerical value for the amount adsorbed at infinite time. If this argument is not defined, the maximum qt will be set as qinf.

sort.by

the name of the statistical error parameter in which the models are sorted in either increasing or decreasing order. The only accepted arguments are "RMSE" for Relative Mean Square Error, 'MAE' for Mean Absolute Error, 'MSE' for Mean Squared Error, 'RAE' for Relative Absolute Error, 'AIC' for Akaike Information Criterion, 'BIC' for Bayesian Information Criterion, 'R2' for Coefficient of Determination, and 'SE' for Standard Error Estimate. This argument is case-sensitive, and failure to input the correct value will yield a summary of models in alphabetical order.

Value

the summarized error and parameter values from internal diffusion models.

Author(s)

Jeff Ryan S. Magalong

Joshua Z. DelaCruz

Jeann M. Bumatay

Chester C. Deocaris

Examples


t  <- c(0,15,30,45,60,75,90,105,120)
qt <- c(0.000,3.718,3.888,4.102,4.274,4.402,4.444,4.488,4.616)
idsummary(t,qt,qinf=4.8,"SE")

[Package PUPAK version 0.1.1 Index]