Context: I want to graph every conference for D1 football but there are too many of them to fit nicely in one graph function, so I want to filter to fewer conferences. Any help would be greatly appreciated. I get this error when I use this code: Error in app$vspace(new_style$margin-top
%||% 0) :
attempt to apply non-function.
data_complete <- data[!(data$positivity_rate=="N/A"),]
d1 <- data_complete %>%
group_by(conference, state, school)%>%
filter(conference = "AAC", "SEC" , "Big Ten")
d1$positivity_rate <- as.numeric(d1$positivity_rate)
graph <- ggplot(d1, aes(week, positivity_rate, color=school)) +
geom_line() +
facet_wrap(~conference, ncol = 2)