View source: R/grid_functions.R
create_param_grid_fractional_factorial | R Documentation |
Creates a parameter grid. For each variable, varies the value of that variable while holding the other variables constant at a specified value.
create_param_grid_fractional_factorial(varying_values, baseline_values)
varying_values |
a named list giving the values over which to vary the variables |
baseline_values |
the baseline values of the variables; the variables take this value when not varying |
a parameter grid
varying_values <- list(x = seq(-2,2,0.1),
y = seq(0,2,0.1),
z = c("cond1", "cond2"))
baseline_values <- list(x = 0, y = 0.5, z = "cond1")
param_df <- create_param_grid_fractional_factorial(varying_values, baseline_values)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.