activateGrouping | R Documentation |
Sets and extracts the active (default) grouping. Useful to save typing
in functions that require a grouping variable as input. (Usually referred to
via arguments across
or grouping
/ grouping_variable
).
activateGrouping(object, grouping, verbose = NULL)
activeGrouping(object, verbose = NULL, arg = "across")
object |
An object of class |
grouping |
Character value. The grouping variable that is supposed to be used by default within all functions that need one. |
verbose |
Logical. If (Warning messages will always be printed.) |
activateGrouping()
: Updated SPATA2
object.
activeGrouping()
: Character value. Name of the default grouping variable.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.