mixoofa.anova {mixOofA}R Documentation

Anova Table for a mixture order-of-addition experiment

Description

obtain ANOVA table for a mixture order-of-addition experiment

Usage

mixoofa.anova(formula, response, nmix, mixvar, Zmat, caption)

Arguments

formula

formula for mixture experiment

response

response variable

nmix

number of mixture components

mixvar

matrix representing mixture variables

Zmat

matrix containing PWO variables for the components

caption

caption for ANOVA table, default is blank

Value

an ANOVA table for mixture order-of-addition experiment

Examples

data(fish)
m = 3
mixvar<-fish[, 1:(m+1)]
Zmat<-fish[, (m+2): (m+1+choose(m,2))]
mixoofa.anova(y ~ -1 + (x1+x2+x3)^2, response=fish$y, nmix=m, mixvar, Zmat=Zmat,caption="")

[Package mixOofA version 1.0 Index]