merge_groups | R Documentation |
Internal function used in merge_samples2()
to merge variables. Note, owing
to the use of split()
, the merged elements in the new vector will be
reordered according to group
.
merge_groups(x, group, f = unique_or_na)
x |
A vector whose elements will be merged. |
group |
A vector such that |
f |
A function that, when applied to a subvector of x, returns a single
value. Can also be a formula as interpretted by |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.