kin_regr {chemdeg}R Documentation

Degradation kinetics

Description

Returns from an ord_res object either the linear or the non-linear regression of the degradation kinetics data.

Usage

kin_regr(x)

Arguments

x

an ord_res object

Details

After the analysis in the phase space for the determination of the reaction order, det_order() performs either a linear or a non-linear regression of the kinetic data, depending on whether the reaction order is n=0 or n>0, respectively. To access the regression object call kin_degr.

Value

Returns either an nls or lm object based on the regression performed by the function det_order().

See Also

det_order(), phase_space(), results(), stats::lm()

Examples

t <- c(0, 4, 8, 12, 16, 20)
conc <- c(1, 0.51, 0.24, 0.12, 0.07, 0.02)
dframe <- data.frame(t, conc)
res <- det_order(dframe)

kin_regr(res)

[Package chemdeg version 0.1.4 Index]