mixoofa.anova | R Documentation |
obtain ANOVA table for a mixture order-of-addition experiment
mixoofa.anova(formula, response, nmix, mixvar, Zmat, caption)
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 |
an ANOVA table for mixture order-of-addition experiment
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="")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.