prepare_design | R Documentation |
Prepare design for experiment from a list of simulation parameter
prepare_design(option_list, tabular = TRUE)
option_list |
A list of options that is to be parsed |
tabular |
logical if output is needed in tabular form or list format |
A list of parsed parameters for simulatr
opts <- list( n = rep(100, 2), p = c(20, 40), q = c("5, 5, 4", "10, 5, 5"), m = c(5, 5), relpos = c("1; 2, 4; 3", "1, 2; 3, 4; 5"), gamma = c(0.2, 0.4), R2 = c("0.8, 0.9, 0.7", "0.6, 0.8, 0.7"), ypos = c("1, 4; 2, 5; 3", "1; 2, 4; 3, 5"), ntest = rep(1000, 2) ) design <- prepare_design(opts) design
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.