poly.formula(frml)
All agruments to quad(), cubic(), and cubicS() must be numeric.
The cubicS() function produces a non-singular representation of a cubic model, when the
variables are mixture variables, that is when the rows of data
sum to a constant
value, usually 1.0. Because of the mixture constraint, models containing mixture variables
should not have a constant term. The linear and quadratic models for mixture variables
A, B, and C are given by $-1+(A+B+C)$ and $-1+(A+B+C)^2$ respectively. See Gorman and Hinman [1962] for
details.
poly.formula(y~quad(A,B,C)+Error(block))
Run the code above in your browser using DataLab