Hello I was wondering how to select a group within a group and plot the results.
For example I have a group called "type" and within the type I have:
photo, video, text
I want to take out only photo and plot the likes the photo got. I hope this made sense. I need it in R. I know in python i would use pandas.
library(tidyverse)
you can filter to a single category withfilter()
. For exampledata %>% filter(type == "photo")
- Mako212library(tidyverse); iris %>% filter(Species == "setosa")
- Mako212