How would you add a subscript to one particular word of a title in R? For example, suppose the title is \"A_2 and B_2.\" How would you add these two subscripts?
\"A_2 and B_2.\"
Just paste them together:
expression(paste("A"[2], " and B"[2])