This function plots design points and or constraints in the simplex mixture space, given a data frame containing the design or vextors x, y, and z of the same length that contain the mixture components in the design.
This function plots design points and or constraints in the simplex mixture space, given a data frame containing the design or vextors x, y, and z of the same length that contain the mixture components in the design.
This function plots design points and or constraints in the simplex mixture space. It calls the function MixturePlot that does the actual plotting.
DesignPoints(des =NULL,nmxcmp=3, x =NULL, y =NULL, z =NULL,x1lower=0,x1upper=0, x2lower=0, x2upper=0, x3lower=0,x3upper=0, cornerlabs = c("x3","x2","x1"), axislabs=c("x1","x2","x3"),pseudo=FALSE)
Arguments
des: data frame containing x1 x2 and x3 coordinates of data points to be plotted
nmxcmp: interger indicating the number of mixture components in the design
x: vector of x3 coordinates of design points to be plotted
y: vector of x2 coordinates of design points to be plotted
z: vector of x1 coordinates of design points to be plotted
x1lower: lower constraint on x1
x1upper: upper constraint on x1
x2lower: lower constraint on x2
x2upper: upper constraint on x2
x3lower: lower constraint on x3
x3upper: upper constraint on x3
axislabs: This is a vector of text labels for the x1, x2 and x3 axis.
cornerlabs: This is a vector of text labels for the x1, x2 and x3 vertices.
pseudo: logical variable, when TRUE plot is made in pseudo component space bounded by the lower constraints of each component.
References
Piepel, G. F. "Programs for Generating Extreme Vertices and Centroids of Linearly Consrtained Experimental Regions" Journal of Quality Technology, Vol 20, No. 2, pp. 125-139, 1988.
"John Lawson, Cameron Willden (2016).", "Mixture Experiments in R Using mixexp.", "Journal of Statistical Software, Code Snippets, 72(2), 1-20.", "doi:10.18637/jss.v072.c02"
Note
This function calls MixturePlot. If either des and x,y,z are missing no design points will be plotted, and if x1lower, x1upper, etc. are all zero no constraints will be plotted. If there are more than 3 columns of mixture components in des, only the first 3 will be plotted ignoring the others.