Skip to content

Conversation

@TeoSakel
Copy link

In case the data variable is of class tbl_df the syntax data[, .grouping.var] always returns a tbl_df object. data[[.grouping.var]] returns the column vector both for data.frames and tbl_dfs.

In case the `data` variable is of class `tbl_df` the syntax `data[, .grouping.var]` always returns a `tbl_df` object.
`data[[.grouping.var]]` returns the column vector both for `data.frame`s and `tbl_df`s.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant