View source: R/list_conditions_funs.R
list_conditions | R Documentation |
This function belongs in the interior of
list_conditions_datagen
and
list_conditions_estimate
. It takes the arguments passed to
its parent function and returns a list of all combinations of those
arguments.
list_conditions()
The argument combinations are created using cross
to
create a list where each element is a combination (list length is equal
to the number of combinations), and then the list is transformed using
transpose
to flip it "inside out" such that the
result has length equal to the number of arguments passed to the parent
function, and each argument has length equal to the number of combinations.
A named list of all combinations of arguments given in the parent function. The list has length equal to the number of arguments passed to the function and each argument has length equal to the number of combinations.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.