Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR R

how to summarise data but keep columns R

data %>%
  group_by(b) %>%
  mutate(min_values = min(c)) %>%
  ungroup()
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #summarise #data #columns #R
ADD COMMENT
Topic
Name
2+4 =