View source: R/grid_functions.R
create_param_grid_two_way_factorial | R Documentation |
Create param grid (two way factorial)
create_param_grid_two_way_factorial(param_vals, arm_names, arm_param)
param_vals |
a named list of length two, giving the values to vary over |
arm_names |
the names of the arms |
arm_param |
the parameter to use to assign the arm names |
a parameter grid
param_vals <- list(g_perturbation = seq(0.5, 6, 0.5), pi = seq(0.1, 0.3, 0.1))
arm_names <- c("pi_small", "pi_intermediate", "pi_big")
arm_param <- "pi"
create_param_grid_two_way_factorial(param_vals, arm_names, arm_param)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.