Description Usage Arguments Value
Expands a data frame by merging with a data.frame of length M filled with 0 or other
1 | expandDataFrame1d(df, namex, x, namez, z.val = 0)
|
df |
input data frame |
namex |
variable name for rows |
x |
vector of values of rows |
namez |
name of the merged field, usually a count |
z.val |
value to fill the merged column with |
a filled data frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.