Indexing grouped_df object

前端 未结 1 441
-上瘾入骨i
-上瘾入骨i 2021-01-13 06:30

Trying to select a column of an object of class grouped_df by index gives \"Error: index out of bounds\". For example

x <- mtcars %>% grou         


        
相关标签:
1条回答
  • 2021-01-13 07:22

    For group_by, function[ can not subset the column of the df except the grouped variables. See details on issuse,

    0 讨论(0)
提交回复
热议问题