powered by
Create (partial) factorial design
doe(factors, int = "", trials = NA, seed = NA)
Categorical variables used as input for design
Vector of interaction terms to consider when generating design
Number of trials to create. If NA then all feasible designs will be considered until a design with perfect D-efficiency is found
Random seed to use as the starting point
A list with all variables defined in the function as an object of class doe
See https://radiant-rstats.github.io/docs/design/doe.html for an example in Radiant
summary.doe to summarize results
summary.doe
# NOT RUN { doe(c("price; $10; $13; $16", "food; popcorn; gourmet; no food")) doe( c("price; $10; $13; $16", "food; popcorn; gourmet; no food"), int = "price:food", trials = 9, seed = 1234 ) # }
Run the code above in your browser using DataLab