Learn R Programming

mixtox (version 1.0)

eiaPred: Mixture Effect Predicted by IA at Particular ECx of a Mixture

Description

According to the fitted concentration-response information of mixtures. The concentration (e.g., ECx) that causes certain effect in the mixture will be calculated. eiaPred will predict how much effect will be caused at ECx according to independent action.

Usage

eiaPred(effv, sgl, mix, pctMix)

Arguments

effv
numeric vector with single or multiple effect values (0 ~ 1).
sgl
A list with sgl$model and sgl$param. sgl$model is character vector of equations used to fit the concentration-response data of individual chemicals: Hill, Weibull, Logit, BCW, BCL, GL. sgl$param is numeric matrix of fitting coefficients with rowname
mix
A list with mix$model and mix$param. mix$model is character vector of equations used to fit the concentration-response data of mixtures: Hill, Weibull, Logit, BCW, BCL, GL. mix$param is numeric matrix of fitting coefficients of mixtures' concen
pctMix
A numeric matrix, the concentration ratio (percent) of every component in the mixture.

Value

  • A numeric matrix of predicted effects

Details

eiaPred calculate the effect concentrations based on the fitted concentration-response information of the mixture according to the input effects effv (e.g., 0.05 and 0.5). The concentration of individual component $c_i$ is computed based on mixture's ECx and the proportion of component in the mixture $p_i$. Then the IA effect will be calculated based on the independent action.

See Also

ecaPred

Examples

Run this code
## example
# predict the IA effect at the concentrations that cause 10\% and 50\% effect of an mixture.
# each mixture contains eight components. Totally, there are 10 mixtures designed by the udcr.
data(cytotox)
sgl <- cytotox$sgl
mix <- cytotox$mix
pct <- cytotox$pct
eiaPred(effv = c(0.1, 0.5), sgl, mix, pct)

Run the code above in your browser using DataLab