Internal helper to eagerly build assignment conditions for potential outcomes.
1 2 3 4 5 6 7 8
the name of assignment variables, if conditions is not already named.
If conditions is a data.frame, it is returned unchanged
Otherwise, if conditions is a list, it is passed to expand.grid for expansion to a data.frame
Otherwise, if condition is something else, box it in a list with assignment_variables for names, and pass that to expand.grid.
a data.frame of potential outcome conditions
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.