Description Usage Arguments Details Value Author(s) Examples
Get a single "good" design from a list of cards
1 | mc.get.one.design(all.cards, cards, slack = 1, tol = 0.2, max.tries = 1e+06)
|
all.cards |
The set of cards from which the design is to be drawn |
cards |
The number of cards in the design. |
slack |
How much the number of each factor level can vary in a "good" design |
tol |
The largest cross correlation in a "good" design |
max.tries |
The maximum number of designs to look at. |
Take samples of size cards
from all.cards
to form designs.
Check each of the designs to see if it is "good". Return the first
good design found. (This is one very simple way of getting a design
to start with. Alternatively you could use a classical design
(e.g. a fractional factorial design) or an "optimal" design as
produced by the AlgDesign package).
A single design or NULL and an error message if no design is found
William Hughes
1 2 3 4 5 6 7 | data(hire.candidates)
#get a nine card design
mc.get.one.design(hire.candidates,9)
#get a 15 card design with cross correlations less that .1
mc.get.one.design(hire.candidates,15,tol=.1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.