I'm trying to merge two expressions made with bquote. For example:
a = 1
b = 2
x1 = as.expression(bquote(paste("Something ", alpha, " = ", .(a), sep = "")))
x2 = as.expression(bquote(paste("Something else ", beta, " = ", .(b), sep = "")))
Is there a way to do something similar to x12 = paste(x1, x2, collapse = "some symbol")
without doing:
x12 = as.expression(bquote(paste("Something ", alpha, " = ", .(a)," some symbol ",
"Something else ", beta, " = ", .(b), sep = "")))
Thanks a lot!