df.col.grid | R Documentation |
This is similar to expand.grid but uses the existing values in a data frame, on the variables that you name. This would be most useful as a step in preparing data for some other analysis.
df.col.grid(df, columns)
df |
A data frame. |
columns |
A list of column names in the data frame. |
Not yet.
A data frame with all combinations of values existing in the data frame on the specified columns.
#
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.