Description Usage Arguments Details Value Note Author(s) See Also Examples
Creates the graphical layout of resultant A-, MV-, D- or E-optimal or near-optimal row-column design on a separate pop-up GUI tcltk window.
1 | graphoptrcd.mae(trt.N, col.N, theta, OptdesF, Optcrit, cbVal2)
|
trt.N |
integer, specifying number of treatments, |
col.N |
integer, specifying number of arrays, |
theta |
numeric, representing a function of the ratio of random array variance and random error variance. It takes any value between 0 and 1, inclusive. |
OptdesF |
matrix, a |
Optcrit |
character, specifying the optimality criteria to be used. Thus, |
cbVal2 |
checkbox value. It takes a value of zero or one. The default value of |
Detail discussions concerning the constructions of a graphs can be found in igraph
R package.
Returns the graphical layout of the resultant optimal or near-optimal row-column design 'OptdesF
' on a separate pop-up window. Furthermore, the function graphoptrcd.mae
saves the graphical layout of the resultant optimal or near-optimal row-column design in .pdf format in a working subdirectory.
When closing a pop-up window for graphical layout of the resultant designs (Graph plot), if the window is closed by
clicking on the red button with "X" sign (top-right), the warning message "Warning message: In rm(list = cmd,
envir = .tkplot.env):
object 'tkp ...' not found"
will occur in R console irrespective of what command is executed next. To resolve this warning message, click
on "close
" menu that is located at the top-left of the graph plot pop-up window when closing this window.
Legesse Kassa Debusho, Dibaba Bayisa Gemechu, and Linda Haines
1 2 3 4 5 6 7 8 9 10 11 12 | ##To create the graphical layout of the D-optimal row-column design
##obtained using the treatment exchange algorithm for
trt.N <- 10 #Number of treatments
col.N <- 10 #Number of arrays
theta <- 0.2 #theta value
OptdesF <- rbind(1:10, c(2:10, 1)) #D-optimal design (loop design)
graphoptrcd.mae(trt.N = 10, col.N = 10, theta = 0.2, OptdesF, Optcrit = "D", cbVal2 = 0)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.