1
我想合併兩個用bquote製作的表達式。例如:合併表達式繪圖
a = 1
b = 2
x1 = as.expression(bquote(paste("Something ", alpha, " = ", .(a), sep = "")))
x2 = as.expression(bquote(paste("Something else ", beta, " = ", .(b), sep = "")))
有沒有辦法做類似x12 = paste(x1, x2, collapse = "some symbol")
沒有做:
x12 = as.expression(bquote(paste("Something ", alpha, " = ", .(a)," some symbol ",
"Something else ", beta, " = ", .(b), sep = "")))
非常感謝!
太棒了!非常感謝! – user304347