I have two vectors - vector varnames contains names of variables and vector descs contains their descriptions. I want to paste0 them together, but have the descriptions be italic in a barchart.
I have this right now:
labels <- paste0(varnames, "\n", descs)
but I want something like
labels <- paste0(varnames, "\n", italic(descs))
I'm familiar with expression and substitute but I don't know how to use them for this.
EDIT: I'm familiar with how to do it for two strings. My question is about two vectors.
