Create a Variance Dispesion Graph for a response surface design in a cuboidal region.
Usage
cpv(design.matrix, add.pts = TRUE)
Arguments
design.matrix
A data frame containing design points in coded or uncoded units. There should be one column for each factor in the design, and one row for each run in the design. The maximum number of factors is 6.
add.pts
Generate scaled prediction variances of random design points in the VDG. By default add.pts = TRUE.
Value
cpv is called to generate a Variance Dispersion Graph when the number of factors k = 2, 3, or 4 and to generate side-by-side boxplots for k = 5 and 6. In the former case, a table of the minimum, maximum, and average of scaled prediction variances is also produced.