【问题标题】:ggtern error - Error in f(..., self = self) : unused argument (plot$coordinates)ggtern 错误 - f(..., self = self) 中的错误:未使用的参数 (plot$coordinates)
【发布时间】:2018-08-11 23:05:39
【问题描述】:

为什么我会收到此错误?我什至在下面尝试了一个简单的模拟示例,但仍然出现错误。模拟示例的链接 - Making a ternary plot

x  <- data.frame(
  x1 = c( 0, 0, 1, 0.1, 0.6, 0.2 ),
  x2 = c( 0, 1, 0, 0.3, 0.2, 0.8 ),
  x3 = c( 1, 0, 0, 0.6, 0.2, 0.0 )
)

library(ggtern)
ggtern(data=x,aes(x1,x2,x3)) + 
  geom_point(fill="red",shape=21,size=4)

得到以下错误:

f(..., self = self) 中的错误:未使用的参数 (plot$coordinates)

有人可以帮帮我吗?

【问题讨论】:

    标签: r ggplot2 ggtern


    【解决方案1】:

    降级到之前版本的 ggplot2 (2.2.1)。 solution

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2022-10-17
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-08-14
      相关资源
      最近更新 更多