Orthogonal Array Design Dialog Function

DESCRIPTION:

This function is called by the Orthogonal Array Design Dialog. It is an interface to oa.design and randomize, and is used to produce orthogonal array design data.frames.

USAGE:

menuOaDesign(levels, factor.names, min.resid.df, randomize.rows=F,  
     restrict=NULL, save.name, show.p=.Options$show.data.in.view) 

REQUIRED ARGUMENTS:

levels
vector of the number of levels for each factor in the desired design. Currently only factors with two or three levels are allowed. Missing values are not accepted.

OPTIONAL ARGUMENTS:

factor.names
factor names attribute. This may be a character vector, giving the names of the factors, or a list. If it is a list, the names attribute of the list is the names of the factors, and the elements of the list (which need not be of mode character) give the levels of the corresponding factor.
min.resid.df
minimum residual degrees of freedom requested for a main-effects-only model. The default value is 0, unless the number of levels in the factors are all equal in which case the default is 3.
randomize.rows
Logical flag indicating whether to randomize the row order in the design.
restrict
vector (either numeric or character) specifying some factors (columns) in the design which shouldn't be scrambled. This is only relevant if randomize.rows=T.
save.name
character string giving name under which to save result. If this is specified the result will be assigned to the working database under the given name, and will also be returned invisibly.
show.p
logical flag: if TRUE, save.name is specified, and the Windows S-PLUS GUI is active, the result will be displayed in a Data Window.

VALUE:

A data.frame of class design giving an orthogonal array design with the specified characteristics.

SEE ALSO:

, , , .

EXAMPLES:

menuOaDesign(c(3,2))