Effectively, this function keeps variables that are 'at the level of' the grouping level specified. For example, if person_id was specified, it would keep only variables that do not vary below the person level (i.e. trait level variables). Grouping variables are always retained. If person_id and daynr were specified, it would keep only variables that do not vary within day (i.e. day level variables).
1 |
data |
The input dataset |
grouping |
The grouping variables that determine the level below which variables should not vary if they are to be kept. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.