Usage
experimentDesignTable( array.allocation, condition.allocation,
nEnvFactors, nLevels, Level, fileName,envFactorNames,
directory )
Arguments
array.allocation
matrix with nArray rows and nRIL columns.
Elements of 1/0 indicate this RIL is/not selected
for this array.
condition.allocation
matrix with nCondition rows and nRIL columns.
Elements of 1/0 indicate this RIL is/not selected
for this condition.
nEnvFactors
number of environmental factors, an integer bewteen 1 and 3.
When nEnvFactors
is 1 and the number of levels for the enviromental factor
(nLevels
)is 1, there is one condition in the experiment (i.e. no
envir
nLevels
number of levels for each factor, a vector with each
component being integer. The length of it should equal
nEnvFactors
.
Level
a list which specifies the levels for each factor in the
experiment. There are in total nEnvFactors
elements in the list and each
element correpsond to certain envrironmental factor. The emlemet is a
vector describing all
fileName
the final optimal design table(s) in csv
format and a plot (in png
format) of the all scores during SA process (if plotScores
= T) will be
produced. The users can specify the table and plot name
envFactorNames
a vector with names for all environmental factor(s). For example, for the
experiment with two environmental factors of temperature and drug treatment:
envFactorNames <- c( "Temperature", "Dosage" )
Default = NULL
directory
It tells where the resulting optimal design tables are to be stored.
If NULL
(default), it will use the currect working directory.