I have seen several topics on creating subscripts on barplots, but I cannot seem to get the function "expression" to work in my code. I have attached the code below ideally I want $K_a$, $N_{max}$, $C_{r50}$, $C_{s50}$, but I cannot figure out how to make that appear in the bargraph. There's a large likelihood I have coded the most in-efficient bar graph, so any suggestions would be appreciated!
library(ggplot2)
lowdose <- c(3.412681e-03, 1.700527e-03, 1.207575e-04, 8.716199e-03, 8.186021e-05, 1.286261e-03, 5.872725e-04, 7.124678e-02, 2.107681e-01, 3.543541e-01)
lowdoseparams <-c("V", "k", "ka", "\u03B1", "\u03B3", "\u03B7", "\u03C3", "Nmax", "Cs50", "Cr50")
#lowdoseparams <-expression(V, k, k_a, alpha, gamma, eta, sigma, Nmax, Cs50, Cr50)
lowdata <- data.frame(Parameters=lowdoseparams, Effects=lowdose)
p_low<-ggplot(data=lowdata, aes(x=Parameters, y=Effects)) +
geom_bar(stat="identity")+theme(axis.text=element_text(size=14),
axis.title=element_text(size=18))
p_low