graphsoptd.mae {soptdmaeA} | R Documentation |
Creates the graphical layout of resultant sequential optimal design
Description
Creates the graphical layout of resultant sequential A-, MV-, D- or E-optimal or near-optimal block or row-column design on a separate pop-up GUI tcltk window.
Usage
graphsoptd.mae(trt.N, blk.N, theta, soptdesF, Optcrit, strt, sary, dtype)
Arguments
trt.N |
integer, specifying number of treatments |
blk.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. |
soptdesF |
matrix, a |
Optcrit |
character specifying the optimality criteria to be used. Thus, |
strt |
a non-negative integer, specifying number of added treatments/conditions to the initial design. |
sary |
a non-negative integer, specifying number of added arrays to the initial design. |
dtype |
character, specifying the design type. For block designs, |
Details
Detail discussions concerning the constructions of graph can be found in igraph
R package.
Value
Returns the graphical layout of the resultant sequential optimal or near-optimal block or row-column design 'soptdesF
' on a separate pop-up window with the new edges (arrays) and vertices (treatments) added to the initial design coloured in red and brown, respectively, for separation purpose. Furthermore, the function graphsoptd.mae
saves the graphical layout of the initial des0
and resultant sequential optimal or near-optimal design in .pdf format in a working subdirectory.
Note
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.
Author(s)
Dibaba Bayisa Gemechu, Legesse Kassa Debusho, and Linda Haines