Description Usage Arguments Value See Also
Folds a grouped_df. Reclassifies as data.frame and passes groups explicitly. Anonymous arguments over-ride stored groups.
1 2 3 |
x |
data.frame |
... |
unquoted column names whose interaction makes records unique. Included in result but not stacked. groups(x) by default. Named arguments are passed along. |
meta |
a list of formulas in the form object ~ attribute. Pass something with length 0 to suppress guessing. |
simplify |
set to NA any groups values that do not help distinguish values, and remove resulting duplicate records |
sort |
whether to sort the result |
tol |
maximum number of categories for guessing whether to encode metadata; encoding will always be attempted if metadata (attr) or its referent (obj) is a factor |
folded data.frame with columns VARIABLE, META, VALUE and any supplied grouping items.
obj_attr.data.frame
fold.grouped_df
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.