Force R to stop plotting abbreviated axis labels - e.g. 1e+00 in ggplot2

前端 未结 7 1383
遥遥无期
遥遥无期 2020-11-28 04:09

In ggplot2 how can I stop axis labels being abbreviated - e.g. 1e+00, 1e+01 along the x axis once plotted? Ideally, I want to force R to display the actual valu

7条回答
  •  谎友^
    谎友^ (楼主)
    2020-11-28 04:44

    Just an update to what @Arun made, since I tried it today and it didn't work because it was actualized to

    + scale_x_continuous(labels = scales::comma)
    

提交回复
热议问题