How to add a title to a ggplot when the title is a variable name?

后端 未结 4 1201
再見小時候
再見小時候 2020-12-23 13:41

At the end of a ggplot, this works fine:

+ opts(title = expression(\"Chart chart_title...\"))

But this does not:

chart_titl         


        
4条回答
  •  天涯浪人
    2020-12-23 14:27

    ggtitle( paste( "The sum is =", mysum, "The Count is =", N ) )

    mysum and N are variables

提交回复
热议问题