I am struggling to get expression to communicate something like 10<=VarName<120. Why does the following code fail?
starwars %>%
filter(between(birth_year, 10, 120)) %>%
ggplot(aes(x=mass, y=height)) +
geom_point() +
labs(title=expression(10<="Birth Year"120))
Notice that this alone works (without the 120 on the end):
starwars %>%
filter(between(birth_year, 10, 120)) %>%
ggplot(aes(x=mass, y=height)) +
geom_point() +
labs(title=expression(10<="Birth Year"))