I have the below plot, but I'd like to express the isotope names in proper delta format. Previously, I've used the following code for this in an axis label:
p + labs(x = expression(paste(paste(delta^2,"H"))))
But that doesn't work in the facet_grid labeller for my figure below:
p + facet_grid(sex ~ iso,
scale = "free_x",
labeller = labeller(iso = c("d2H" = expression(paste(paste(delta^2,"H"))),
"d13C" = expression(paste(paste(delta^13,"C"))),
"d15N" = expression(paste(paste(delta^15,"N")))),
sex = c("F" = "female",
"M" = "male")))
How can I change the names in the facets?