Title: | Variance Dispersion Graphs and Fraction of Design Space Plots for Response Surface Designs |
---|---|
Description: | Uses a modification of the published FORTRAN code in "A Computer Program for Generating Variance Dispersion Graphs" by G. Vining, Journal of Quality Technology, Vol. 25 No. 1 January 1993, to produce variance dispersion graphs. Also produces fraction of design space plots, and contains data frames for several minimal run response surface designs. |
Authors: | John Lawson <[email protected]>, with contributions from G. Vining |
Maintainer: | John Lawson <[email protected]> |
License: | GPL-2 |
Version: | 2.2-7 |
Built: | 2024-11-23 06:51:25 UTC |
Source: | CRAN |
The Vdgraph package provides functions for creating Variance Dispersion Graphs and Fraction of Design Space Plots of a standardized response surface design stored in a matrix or a data frame.
The function Vdgraph(des)
creates the variance dispersion graph of the response surface design stored in the matrix or data frame des
. The function FDSPlot(des)
creates the fraction of design space plot of the response surface design stored in the matrix or data frame des
. Useful response surface designs are also included as matricies in the package. These include the hexagonal design for two factors Hex2
, the small composite designs for 3 to 6 factors and Roquemore's hybrid designs for 3 to 6 factors. The function Compare2Vdg makes the variance dispersion graphs of two designs on the same scale for comparison.
Package: | Vdgraph |
Type: | Package |
Version: | 2.2-7 |
Date: | 2023-09-08 |
License: | GPL2.0 |
Dependencies: | |
LazyLoad: | yes |
Packaged: | 2023-09-08 19:54:07 UTC; Lawson |
Built: | R 3.0.2; i386-pc-mingw32; 2011-03-22 19:54:08 UTC; windows |
Index:
Compare2Vdg this function makes Variance Dispersion Graphs of two response surface designs on the same graph for comparison Compare2FDS this function makes fraction of design space plots of two response surface designs on the same graph for comparison D310 Roquemore (1976) Hybrid design D310 D311A Roquemore (1976) Hybrid design 311A D311B Roquemore (1976) Hybrid design D311B D416A Roquemore (1976) Hybrid design 416A D416B Roquemore (1976) Hybrid design D416B D416C Roquemore (1976) Hybrid design D416C D628A Roquemore (1976) Hybrid design D628A FDSPlot this function makses a fraction of design space plot of a response surface design Hex2 Hexagonal design for two factors SCDDL5 Draper and Lin's Small Composite Design for five factors SCDH2 Hartley's Small Composite Design for two factors SCDH3 Hartley's Small Composite Design for three factors SCDH4 Hartley's Small Composite Design for four factors SCDH5 Hartley's Small Composite Design for five factors SCDH6 Hartley's Small Composite Design for six factors Vardsgr Loads compiled fortran in shared file vdg Vdgraph this function makes a Variance Dispersion Graph of a response surface design
John Lawson <[email protected]>
Maintainer: John Lawson <[email protected]>
This function compares Fraction of Design Space Plots for two response surface designs with the same number of factors over the unit hypercube design space.
Compare2FDS(des1, des2, name1, name2, mod=2)
Compare2FDS(des1, des2, name1, name2, mod=2)
des1 |
des1 is a matrix or a data frame containing the first response surface design to be compared 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 rows allowed is 99, and the maximum number of columns is 7. |
des2 |
des2 is a matrix or a data frame containing the second response surface design to be compared 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 rows allowed is 99, and the maximum number of columns is 7. |
name1 |
name1 is a character string containing a descriptive name for the first design. This descriptive name should be no more than 40 characters in order to fit in the space for a legend. If left out name1 defaults to des1 |
name2 |
name2 is a character string containing a descriptive name for the second design. This descriptive name should be no more than 40 characters in order to fit in the space for a legend. If left out name2 defaults to des2 |
mod |
mod is the model to be represented. 0 = linear model 1 = linear main effects plus linear by linear 2-factor interactions 2 = full quadratic response surface model (default. |
John S. Lawson [email protected]
1.Zahran, A., Anderson-Cook, C. M. and Myers,R. H. "Fraction of Design Space to Assess Prediction Capability of Response Surface Designs" Journal of Quality Technology, Vol 35, No. 4, pp 377-386. 2003.
data(SCDH5) data(SCDDL5) Compare2FDS(SCDH5, SCDDL5, "Hartley SCD-5", "Draper-Lin SCD5", mod=2)
data(SCDH5) data(SCDDL5) Compare2FDS(SCDH5, SCDDL5, "Hartley SCD-5", "Draper-Lin SCD5", mod=2)
This function calls the function Vardsgr which uses Vining's (1993) fortran code to get the coordinates of a two variance dispersion graph, and then makes the plot.
Compare2Vdg(des,des2,name1,name2,ncolleg)
Compare2Vdg(des,des2,name1,name2,ncolleg)
des |
des is a matrix or a data frame containing the first response surface design to be compared 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 rows allowed is 99, and the maximum number of columns is 7. |
des2 |
des2 is a matrix or a data frame containing the second response surface design to be compared 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 rows allowed is 99, and the maximum number of columns is 7. |
name1 |
name1 is a character string containing a descriptive name for the first design. This descriptive name should be no more than 40 characters in order to fit in the space for a legend. If left out name1 defaults to des |
name2 |
name2 is a character string containing a descriptive name for the second design. This descriptive name should be no more than 40 characters in order to fit in the space for a legend. If left out name2 defaults to des2 |
ncolleg |
The number of columns in the legend this can be 1 or 2 |
vdgpl
vdgpl |
This is a graph containing the two Variance Dispersion Graphs, one for each design |
This function calls the function Vardsgr to get the coordinates for the plot.
John S. Lawson [email protected]
1. Vining, G. "A Computer Program for Generating Variance Dispersion Graphs" Journal of Quality Technology, Vol 25, No. 1, pp. 45-58, 1993. 2. Vining, G. "Corrigenda" Journal of Quality Technology, Vol 25, No. 4, pp 333-335. 1993.
data(SCDH5) data(SCDDL5) Compare2Vdg(SCDH5,SCDDL5,"Hartley's SCD-5","Draper-Lin's SCD-5 fac",ncolleg=1)
data(SCDH5) data(SCDDL5) Compare2Vdg(SCDH5,SCDDL5,"Hartley's SCD-5","Draper-Lin's SCD-5 fac",ncolleg=1)
A This is an .rda file containing the design in a matrix.
data(D310)
data(D310)
Three columns of independent variables
source
Myers, R. H. and Montgomery D. C. Response Surface Methodology 2nd Ed., John Wiley and Sons NY, 2002. p.386
This is an .rda file containing the design in a matrix.
data(D311A)
data(D311A)
Three columns of independent variables
source
Myers, R. H. and Montgomery D. C. Response Surface Methodology 2nd Ed., John Wiley and Sons NY, 2002. p.386
This is an .rda file containing the design in a matrix.
data(D311B)
data(D311B)
Three columns of independent variables
source
Myers, R. H. and Montgomery D. C. Response Surface Methodology 2nd Ed., John Wiley and Sons NY, 2002. p.386
This is an .rda file containing the design in a matrix.
data(D416A)
data(D416A)
Four columns of independent variables
source
Myers, R. H. and Montgomery D. C. Response Surface Methodology 2nd Ed., John Wiley and Sons NY, 2002. p.386
this is an .rda file containing the design in a matrix.
data(D416B)
data(D416B)
Four columns of independent variables
source
Myers, R. H. and Montgomery D. C. Response Surface Methodology 2nd Ed., John Wiley and Sons NY, 2002. p.386
This is an .rda file containing the design in a matrix.
data(D416C)
data(D416C)
Three columns of independent variables
source
Myers, R. H. and Montgomery D. C. Response Surface Methodology 2nd Ed., John Wiley and Sons NY, 2002. p.386
This is an .rda file containing the design in a matrix.
data(D628A)
data(D628A)
Three columns of independent variables
source
Myers, R. H. and Montgomery D. C. Response Surface Methodology 2nd Ed., John Wiley and Sons NY, 2002. p.386
This function calculates means of design.
f(x)
f(x)
x |
This is a design matrix |
mean
mean |
This is the mean of the design x |
This function is called by the function Vdgraph.
John S. Lawson [email protected]
This function creates a Fraction of Design Space Plot over the hypercube design space from -1 to 1 on each component.
FDSPlot(des, mod=2)
FDSPlot(des, mod=2)
des |
des is a matrix or a data frame containing a response surface design 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 rows allowed is 99, and the maximum number of columns is 7. |
mod |
mod is the model to be represented. 0 = linear model 1 = linear main effects plus linear by linear 2-factor interactions 2 = full quadratic response surface model (default. |
John S. Lawson [email protected]
1.Zahran, A., Anderson-Cook, C. M. and Myers,R. H. "Fraction of Design Space to Assess Prediction Capability of Response Surface Designs" Journal of Quality Technology, Vol 35, No. 4, pp 377-386. 2003.
data(D310) FDSPlot(D310)
data(D310) FDSPlot(D310)
This is an .rda file containing the design in a matrix.
data(Hex2)
data(Hex2)
Two columns of independent variables
source
Myers, R. H. and Montgomery D. C. Response Surface Methodology 2nd Ed., John Wiley and Sons NY, 2002. p.386
This function calculates maximums of design.
mx(x)
mx(x)
x |
This is a design matrix |
mean
max |
This is the maximum of the design x |
This function is called by the function FDSPlot.
John S. Lawson [email protected]
This is an .rda file containing the design in a matrix.
data(SCDDL5)
data(SCDDL5)
Five columns of independent variables
source
Myers, R. H. and Montgomery D. C. Response Surface Methodology 2nd Ed., John Wiley and Sons NY, 2002. p.386
This is an .rda file containing the design in a matrix.
data(SCDH2)
data(SCDH2)
Two columns of independent variables
source
Myers, R. H. and Montgomery D. C. Response Surface Methodology 2nd Ed., John Wiley and Sons NY, 2002. p.386
This is an .rda file containing the design in a matrix.
data(SCDH3)
data(SCDH3)
Three columns of independent variables
source
Myers, R. H. and Montgomery D. C. Response Surface Methodology 2nd Ed., John Wiley and Sons NY, 2002. p.386
This is an .rda file containing the design in a matrix.
data(SCDH4)
data(SCDH4)
Four columns of independent variables
source
Myers, R. H. and Montgomery D. C. Response Surface Methodology 2nd Ed., John Wiley and Sons NY, 2002. p.386
This is an .rda file containing the design in a matrix.
data(SCDH5)
data(SCDH5)
Five columns of independent variables
source
Myers, R. H. and Montgomery D. C. Response Surface Methodology 2nd Ed., John Wiley and Sons NY, 2002. p.386
This is an .rda file containing the design in a matrix.
data(SCDH6)
data(SCDH6)
Six columns of independent variables
source
Myers, R. H. and Montgomery D. C. Response Surface Methodology 2nd Ed., John Wiley and Sons NY, 2002. p.386
This function loads and runs the compiled fortran code vdg. vdg is Vining's 1999 JQT fortran code for producing variance dispersion graphs.
Vardsgr(ndpts, kvar1, kdv1, rdes)
Vardsgr(ndpts, kvar1, kdv1, rdes)
ndpts |
This is the number of runs in the response surface design (maximum=99). |
kvar1 |
This is the number of factors in the design matrix (maximum=6). |
kdv1 |
This is the product of ndpts and kvar1. |
rdes |
This is the response surface design matrix stored as a vector of the concatenated columns of the design matrix, one column for each factor in the design. |
vdgr
vdgr |
This is the matrix of coordinates for the variance dispersion graph. It is stored as a vector of concatenated columns. Each column is of length 20, and there are four columns in the matrix. The first column is the radius from the center of the response surface design. The second column is the maximum variance of a predicted value, the third column is the minimum variance of a predicted value, and the fourth column is the average variance of a predicted value. |
This function is called by the function Vdgraph.
John S. Lawson [email protected]
1. Vining, G. "A Computer Program for Generating Variance Dispersion Graphs" Journal of Quality Technology, Vol 25, No. 1, pp. 45-58, 1993. 2. Vining, G. "Corrigenda" Journal of Quality Technology, Vol 25, No. 4, pp 333-335. 1993.
This function calls the function Vardsgr which uses Vining's (1993) fortran code to get the coordinates of a variance dispersion graph, and then makes the plot.
Vdgraph(des)
Vdgraph(des)
des |
des is a matrix or a data frame containing a response surface design 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 rows allowed is 99, and the maximum number of columns is 7. |
vdgpl
vdgpl |
This is a graph containing the Variance Dispersion Graph |
This function calls the function Vardsgr to get the coordinates for the plot.
John S. Lawson [email protected]
1. Vining, G. "A Computer Program for Generating Variance Dispersion Graphs" Journal of Quality Technology, Vol 25, No. 1, pp. 45-58, 1993. 2. Vining, G. "Corrigenda" Journal of Quality Technology, Vol 25, No. 4, pp 333-335. 1993.
data(D310) Vdgraph(D310)
data(D310) Vdgraph(D310)