Expands a data.frame to include all unique combinations of variables and fills in 0's (or other) for missing values
1 |
dat |
data.frame to fill in |
value_name |
names of columns to be filled in (specify this or
|
value_index |
indices of columns to be filled in (specify this or
|
fill_value |
how to fill in holes after expansion. (Defaults to 0.) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.