代码之家  ›  专栏  ›  技术社区  ›  ip2018

ggtern error-f中的错误(…,self=self):未使用的参数(plot$coordinates)

  •  1
  • ip2018  · 技术社区  · 8 年前

    为什么我会犯这个错误?我甚至尝试了下面一个简单的模拟示例,但仍然得到了错误。模拟示例的链接- 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)
    

    获取以下错误:

    有人能帮我吗?

    1 回复  |  直到 8 年前
        1
  •  1
  •   Hua Zou    7 年前

    降级到ggplot2的早期版本(2.2.1)。 solution

    推荐文章